One option is said to be possibly breaking some sites: QSsl::SslOptionDisableSessionTickets
It disables the SSL session ticket extension and some servers are not compatible with the extension.
Signed-off-by: Camila Ayres <hello@camilasan.com>
// "An internal error number 1060 happened. SSL handshake failed, client certificate was requested: SSL error: sslv3 alert handshake failure"
QSslConfiguration sslConfig = QSslConfiguration::defaultConfiguration();
- // Try hard to reuse session for different requests
- sslConfig.setSslOption(QSsl::SslOptionDisableSessionTickets, false);
- sslConfig.setSslOption(QSsl::SslOptionDisableSessionSharing, false);
- sslConfig.setSslOption(QSsl::SslOptionDisableSessionPersistence, false);
-
sslConfig.setOcspStaplingEnabled(Theme::instance()->enableStaplingOCSP());
return sslConfig;