Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-963

QWebEngine self signed certificates issue

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 5.12.1
    • PySide
    • None
    • Windows 10 Pro
    • Windows

    Description

      Hi,

      I'm having some issue loading a internally hosted webpage in QWebEngine.
      When loading the page I get the following error:

      This site can’t be reached
      
      The webpage at https://ourinternalwebsiteurl might be temporarily down or it may have moved permanently to a new web 
      address.
      
      ERR_CERT_COMMON_NAME_INVALID
      

      The Qt Documentation says this about cert. management with QWebEngine:

      Managing Certificates
      Qt WebEngine uses its own network stack, and therefore QSslConfiguration
       is not used to open SSL connections. Instead, Qt WebEngine uses the 
      root CA certificates from the operating system to validate the peer's 
      certificate.
      

      In our case the certificate is properly added to the OS's "Trusted Root Certification Authorities", the proof being that "Internet Explorer" which also uses the Operating System certs to validate works without any issue.

      I can't test with Qt5.12.1 as QWebEngine seems to require Visual Studio 2017 to work and I only have VS2015 available.

      What am I missing here ? Is this a bug in PySide2 ?
      Thanks.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            talonrenaud Renaud Talon
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes