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

tst_oauth2 SSL certificate usage fails

    XMLWordPrintable

Details

    • All
    • 2
    • 211912892 (dev), 33408a475 (6.8), 44c970bd0 (tqtc/lts-6.5)
    • Foundation Sprint 116

    Description

      Running the testcase with recent qtbase started giving errors:

      QCRITICAL: tst_OAuth2::setSslConfig() Could not find certificate:  "/dev-qtnetworkauth/tests/auto/oauth2/certs/selfsigned-server.crt"
      

      The immediate reason seems to be that this produces an invalid QDateTime for certificate's expiration time:
      https://code.qt.io/cgit/qt/qtbase.git/tree/src/plugins/tls/shared/qasn1element.cpp#n248
      The datetime in question is: 99991231235959Z, which is at the edge of supported datetimes.

      Main question is that has something changed and such datetime doesn't work anymore, or should qtnetworkauth just use certificates with more mundane expiration time (ie. not in year 9999)

      Attachments

        Issue Links

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

          Activity

            People

              vuokko Juha Vuolle
              vuokko Juha Vuolle
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes