Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
5.2.0, 5.2.1
-
None
-
Win7 Qt 5.2.1 MinGW OpenSSL 1.0.1l
Android 4.0.4 Qt 5.2.0 x86
Description
When QNetworkAccessManager emits encrypted()
reply->sslConfiguration().peerCertificate().isNull()
return true, except there is an error which is ignored by ignoreSslErrors().
Tested with various Sites (including google.com and this).
Produced output of the attached program:
Error: QUrl( "preconnect-https://www.hazardy.de:443" ) Encrtypted: QUrl( "preconnect-https://www.hazardy.de:443" ) false 2 Finished: QUrl( "preconnect-https://www.hazardy.de:443" ) false 2 Encrtypted: QUrl( "preconnect-https://bugreports.qt-project.org:443" ) true 0 Finished: QUrl( "preconnect-https://bugreports.qt-project.org:443" ) false 2
I would expect that in the encrypted-handler the certificate(-chain) is set.