Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-123346

Expired (and near-expiring) certificates shipped with examples

    XMLWordPrintable

Details

    • 6502ef049 (dev), b1fd4a233 (6.7), a6ef6cbd1 (6.6), a0eb12af7 (tqtc/lts-6.5)

    Description

      https://github.com/qt/qtwebsockets/blob/v6.7.0-rc1/examples/websockets/sslechoserver/localhost.cert expired in November 2023. Consequently, the Client example app can no longer connect to the Server example app out-of-the-box.

      find . | fgrep -e .cert -e .crt -e .pem -e .der | while read line; do echo "$line"; openssl x509 -in $line -enddate -noout ; echo ""; done also reveals that several are close to expiring, so they're worth renewing:

      ./httpserver/simple/assets/certificate.crt
      notAfter=Jul  7 14:31:45 2268 GMT
      
      <Removed "opcua" certs, which are of DER format>
      
      ./remoteobjects/ssl/sslserver/cert/client.crt
      notAfter=Sep  2 08:11:15 2025 GMT
      
      ./remoteobjects/ssl/sslserver/cert/rootCA.pem
      notAfter=Sep 13 08:11:14 2025 GMT
      
      ./remoteobjects/ssl/sslserver/cert/server.crt
      notAfter=Sep  2 08:11:15 2025 GMT
      
      ./remoteobjects/websockets/common/cert/client.crt
      notAfter=Sep  2 08:11:15 2025 GMT
      
      ./remoteobjects/websockets/common/cert/rootCA.pem
      notAfter=Sep 13 08:11:14 2025 GMT
      
      ./remoteobjects/websockets/common/cert/server.crt
      notAfter=Sep  2 08:11:15 2025 GMT
      
      ./webenginewidgets/clientcertificate/resources/ca.pem
      notAfter=Nov 13 11:04:14 2032 GMT
      
      ./webenginewidgets/clientcertificate/resources/client.pem
      notAfter=Nov 13 12:11:01 2032 GMT
      
      ./webenginewidgets/clientcertificate/resources/server.pem
      notAfter=Nov 13 12:11:14 2032 GMT
      
      ./websockets/sslechoserver/localhost.cert
      notAfter=Nov  4 16:58:54 2023 GMT
      

      Attachments

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

        Activity

          People

            manordheim MÃ¥rten Nordheim
            skoh-qt Sze Howe Koh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes