Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Websocket network error: The certificate is self-signed, and untrusted
cibinjose last edited by
i could connect to the secure web socket at www.websocket.org/echo.html but could not connect to the secure websocket from my server app which is signed with a self signed certificate
Getting the following error in inspector
websocket network error: The certificate is self-signed, and untrusted
I have installed the certificate using
certutil -d sql:$HOME/.pki/nssdb -A -t "CT,C,C" -n localhost -i localhost.cert
i was able to connect to the the wss:// from chrome but not from QtWebkit
Thanks in Advance
Arfy last edited by
I have the same problem by testing wss on a server with a self signed certificate.
It seems to be a "problem"/old bug in Webkit.
Old (2010) discussion on bugs.webkit.org (bug still in NEW) : "here":https://bugs.webkit.org/show_bug.cgi?id=41419
A similar discussion on old chromium with webkit (in WONTFIX): "here":https://code.google.com/p/chromium/issues/detail?id=146848
Seems to be we should:
- force a "valid certificate"
- switch to ws: if not working in wss: