[Qt-interest] SSL handshake failure and "No Error" QSslError

Jason H scorp1us at yahoo.com
Wed Feb 16 22:17:57 CET 2011


I generally see this error when there is an SSL version mismatch. By default, it 
only accepts V3. You need to set it to AnyProtocol for older clients. 


Generally, what I found was you have to use AnyProtocol, then write a handler 
for after the connection is established and decide if the connection meets your 
security requirements. 


Also, don't forget abut the [possible] client certificate verify checks.





----- Original Message ----
From: Eric Miller <ericm at sifteo.com>
To: qt-interest at qt.nokia.com
Sent: Wed, February 16, 2011 1:49:07 PM
Subject: [Qt-interest] SSL handshake failure and "No Error" QSslError

Howdy -

Our client app communicates with our server over https. On some users' 
configurations we're finding that the connection is refused and that the 
QNetworkReply reports error 6, or SSL Handshake failure. However I have noticed 
that when the QNetworkAccessManager::sslErrors signal gets tripped, the 
QSslError that is passed in consistently has an error code of 0, or No Error. Is 
this expected behavior? Or is something up somewhere?

thanks,
Eric

_______________________________________________
Qt-interest mailing list
Qt-interest at qt.nokia.com
http://lists.qt.nokia.com/mailman/listinfo/qt-interest



      



More information about the Qt-interest-old mailing list