windows11 onLine install Qt(qt-online-installer-windows-x64-4.8.1.exe ) Fail
-
l use Git Bash to execute ./qt-online-installer-windows-x64-4.8.1.exe --mirror https://mirrors.sjtug.sjtu.edu.cn/qt/。Fail~~~~
$ [1794] Warning: LicenseManager: Ssl error: "无法找到本地查找证书的颁发者证书"
[1794] Warning: Network error: [ QNetworkReply::SslHandshakeFailedError ] "无法连接服务器。请检查您的网络连接,然后重试。"
[1794] Warning: 无法连接服务器。请检查您的网络连接,然后重试。please help me 。 thank you very much。
-
Hi and welcome to devnet,
It seems that your computer cannot connect to that mirror.
It looks like it complains about two different things:
- it's certificate cannot be validated
- the network connection broke
So are you sure that this mirror is valid and that you have access to it ?
On a side note, can you please translate the errors to English ? It's the official language of the forum and it will help speed things up.
-
@SGaist Thank you, how can I tell if the certificate is valid? I downloaded the community version from the Qt official website.
Errors info is : Warning: LicenseManager: Ssl error: "Unable to find the issuer certificate for the local lookup certificate"
[1794] Warning: Network error: [ QNetworkReply::SslHandshakeFailedError ] "Unable to connect to the server. Please check your network connection and try again."
[1794] Warning: Unable to connect to server. Please check your network connection and try again. -
@chenke404 said in windows11 onLine install Qt(qt-online-installer-windows-x64-4.8.1.exe ) Fail:
建议使用中科大的镜像试试,比较稳,清华的有问题,交大的没试过, 官网的科学上网可以, 或者网址试试http打头.
Please write in English or use the appropriate subforum.
-
@Point-zhy can you access the mirror if you use your web browser ?
-
@Charac i have resolved this,though i do not know how it does work, but it do work for me.
follow this steps:
1.打开命令提示符(以管理员权限)。(open the command prop as admin)
2.运行以下命令从 Windows Update 获取最新的根证书列表。(run the command to update your root certs)
certutil.exe -generateSSTFromWU roots.sst
3.将生成的 roots.sst 文件导入到受信任的根证书存储中。(import the result to the trusted root certs)
Import-Certificate -CertStoreLocation Cert:\LocalMachine\Root -FilePath .\roots.sst