Unable to connect secure web socket from QtWebkit



  • OS: Ubuntu
    Qt complied with openssl support

    I was trying to connect to a secure web socket from an html page loaded in QtWebkit container, websoket connection is working fine but when I use wss:// it is not connecting. Getting the following error in javascript and no error captured in the onSslErrors slot. the same page is working fine in chrome browser.

    *WebSocket network Error, the certificate is self-signed and untrusted *

    i have installed the certificate using the following command
    certutil -d sql:$HOME/.pki/nssdb -A -t "CT,C,C" -n localhost -i localhost.cert


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.