Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. Websocket network error: The certificate is self-signed, and untrusted
Forum Updated to NodeBB v4.3 + New Features

Websocket network error: The certificate is self-signed, and untrusted

Scheduled Pinned Locked Moved Qt WebKit
2 Posts 2 Posters 4.1k 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.
  • C Offline
    C Offline
    cibinjose
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • A Offline
      A Offline
      Arfy
      wrote on last edited by
      #2

      Hi,

      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:

      Pascal

      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