-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
5.6.1
-
None
When set ignoreSslErrors to ignore some ssl errors, the error are not ignored.
Sample:
QList<QSslError> errorsToIgnore;
errorsToIgnore<<QSslError(QSslError::SelfSignedCertificate)<<QSslError(QSslError::HostNameMismatch);
K_Websocket->ignoreSslErrors(errorsToIgnore);
K_Websocket->open(QUrl("wss://foo",QUrl::StrictMode));
When the server certificate is self signet and for an other host name, then the signal sslErrors will emitted.
The QList<QSslError> list will contains:
The host name did not match any of the valid hosts for this certificate
The certificate is self-signed, and untrusted
As far as I understand the documentation, these errors should then be ignored.