Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Qt Maintenance SSL Handshake Error



  • SSL Handshake problem on Windows 10

    Problem

    I got this problem suddenly. It was working a few weeks ago.
    Probably Microsoft got rid of some certificates and the ftp mirror has none of the new and needed certificates installed yet, is my guess.

    31f3221a-e717-4d13-806a-83681ec233d9-image.png

    Log file

    [0] Arguments: P:\Qt\MaintenanceTool.exe
    [29] Operations sanity check succeeded.
    [30] Reading Qt Account settings from disk: "C:/Users/user/AppData/Roaming/Qt/qtaccount.ini"
    [30] Opensource installation detected: "P:/Qt"
    [30] QtAccount information:
    [30] Login completed: false
    [30] Email: "????????????????"
    [30] Total number of licenses: 0
    [30] Account type: 1
    [31] Language: en-US
    [10987] Login completed to Qt Account: "??????"
    [11080] Saving licenses to file: "C:/Users/user/AppData/Roaming/Qt/qtlicenses.ini"
    [11081] Saving Qt Account settings to file: "C:/Users/user/AppData/Roaming/Qt/qtaccount.ini"
    [11141] "Installation preconditions ok, installation can proceed!" [ "success" ]
    [20576] Preparing meta information download...
    [25207] Retrieving meta information from remote repository...
    [26733] Warning: SSL error: "The issuer certificate of a locally looked up certificate could not be found"
    [27174] Warning: Network error while downloading 'https://ftp1.nluug.nl/languages/qt/online/qtsdkrepository/windows_x86/android/qt6_602_x86_64/2021-02-25-1258_meta.7z': SSL handshake failed.
    

    Opening the same URL in a browser on the same system is no problem.
    This probably because the browser brings its own SSL certificates.

    Is There a Solution?

    Can I select a different mirror server to download from?
    This is probably not possible anymore since (https://github.com/JKSH/QtSdkRepoChooser)



  • Your server (ftp1.nluug.nl) holds a valid ssl certificate issued by let's encrypt, which should not cause the local lookup error at [26733]. I have had a similar error once and the troublemaker was a firewall / proxy environment that didn't like end-to-end encrypted downloads.



  • @AxelVienna The Windows I'm running it on was originally running on my hardware box as Windows 7 then upgraded to Windows 10 and next virtualized it onto my Linux server where it had several Windows 10 major updates and is up-to-date.

    I moved to Linux many years ago because I did not trust Microsoft anymore with my data.
    To many bad experiences with breaking harddisk data integrity.

    Maybe all the upgrading did this Windows not any good since another fresh Windows 10 installed dual boot system did the update without any problems.
    I copied the Qt directory onto the VM and now the update on the WM has no problem any more.

    It is just weird. I did not even restart the VM.
    Another good reason not to be dependent on a Microsoft product :)


Log in to reply