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

[Boot2Qt] Datetime set on the device is incorrect which causes issues like SSL validation errors

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.8.0 Beta4
    • Device Creation
    • None
    • Linux/Yocto

    Description

      Host: Linux Ubuntu 22.04.4 

      Qt Creator 14.0.1

      Device: Raspberry Pi4 64 bit 

      Steps to reproduce:

      1. Flash the device with 6.8.0b4
      2. Boot the device
      3. Log in via SSH and check the date (using date command)

      Expected: It should show the current date. 

      Actual: It shows

      Tue 2024-02-27 17:37:16 UTC 

      which causes issues, e.g.:

      [1129:1138:0227/172859.207590:ERROR:cert_verify_proc_builtin.cc(874)] CertVerifyProcBuiltin for qt.io failed:
      ----- Certificate i=0 (CN=*.qt.io,O=The Qt Company Ltd,L=Espoo,C=FI) -----
      ERROR: Time is before notBefore 

      Note: I did a fresh flash on both Linux and Windows - same result.

      Reproducibility:  100% **

      More details:

      I run 

      root@b2qt-raspberrypi-armv8:~# timedatectl status
      
                     Local time: Tue 2024-02-27 17:47:45 UTC
                 Universal time: Tue 2024-02-27 17:47:45 UTC
                       RTC time: n/a
                      Time zone: Universal (UTC, +0000)
      System clock synchronized: no
                    NTP service: active
                RTC in local TZ: no
      root@b2qt-raspberrypi-armv8:~# 
       

       

      Attachments

        Issue Links

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

          Activity

            People

              sapiippo Samuli Piippo
              lkos Łukasz Kosiorowski
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes