Unsolved Qt Maintenance SSL Handshake Error
A.v.O last edited by
SSL Handshake problem on Windows 10
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.
 Arguments: P:\Qt\MaintenanceTool.exe  Operations sanity check succeeded.  Reading Qt Account settings from disk: "C:/Users/user/AppData/Roaming/Qt/qtaccount.ini"  Opensource installation detected: "P:/Qt"  QtAccount information:  Login completed: false  Email: "????????????????"  Total number of licenses: 0  Account type: 1  Language: en-US  Login completed to Qt Account: "??????"  Saving licenses to file: "C:/Users/user/AppData/Roaming/Qt/qtlicenses.ini"  Saving Qt Account settings to file: "C:/Users/user/AppData/Roaming/Qt/qtaccount.ini"  "Installation preconditions ok, installation can proceed!" [ "success" ]  Preparing meta information download...  Retrieving meta information from remote repository...  Warning: SSL error: "The issuer certificate of a locally looked up certificate could not be found"  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)
AxelVienna last edited by
Your server (ftp1.nluug.nl) holds a valid ssl certificate issued by let's encrypt, which should not cause the local lookup error at . I have had a similar error once and the troublemaker was a firewall / proxy environment that didn't like end-to-end encrypted downloads.
A.v.O last edited by A.v.O
@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 :)
Just encountered this error with Windows 10. I made sure I updated so all root certs are good.
I get these warnings/errors and cannot update meta data:
 Preparing meta information download...  Retrieving meta information from remote repository...  Warning: SSL error: "The issuer certificate of a locally looked up certificate could not be found"  Warning: Network error while downloading 'https://mirrors.ocf.berkeley.edu/qt/online/qtsdkrepository/windows_x86/android/qt6_624_x86_64/2022-03-14-1203_meta.7z': SSL handshake failed.
I navigated to https://mirrors.ocf.berkeley.edu and the browser did not complain about certs.
The version of MaintenanceTool is 4.1.1 built in May 24, 2021.
I don't see any command line options to update the certs the MaintenanceTool actually uses.
I thought it might be firewall, but it is not blocking anything.
I can run the maintenancetool just fine in Linux on the same network.
So this is some Windows 10 issue, or maintenancetool issue on Windows.
I looked at reinstalling Qt, but the issue is I have several kits installed and I don't want to mess that up. I don't know if those kits are still available through the Qt installer anymore.
I just downloaded the online installer and it has the exact same error. All I can think is it something wrong with my machine then.
I downloaded virtual box on the same Windows 10 machine.
I created new virtual box computer and installed latest Windows 10 on the computer.
When it tries to get meta data it fails with: "Cannot retrieve remote tree."
I get past the login and it recognizes my account. So I really don't understand what the issue could be.
Had a virtual box on my Linux machine that the MaintenanceTool actually works on.
I have windows 10 in a computer on that virtual box.
Downloaded the latest online installer.
Meta data fails with the same ssl error.
So the maintenance tool only seems to work on Linux where I am at.
Is there any way to change the repos it is attempting to use?
SGaist Lifetime Qt Champion last edited by
You can change the mirror following the information here.
Woah, this online installer fails to get meta data:
But I have this old online installer laying around and it logs in and retrieves the meta data:
My only guess is this might be using different repos.
Something is really really wrong with the Windows download options.
Anyone with Windows 10 using the online installer have this issue?
Using one of the examples got me going: maintenancetool(.exe) --mirror http://qt.mirror.constant.com