Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. C++ Gurus
  4. Unable to connect secure web socket from QtWebkit
Qt 6.11 is out! See what's new in the release blog

Unable to connect secure web socket from QtWebkit

Scheduled Pinned Locked Moved C++ Gurus
1 Posts 1 Posters 1.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved