Trying to get SSL_CTX from QNetworkAccessManager
-
Hi,
I need to set SSL_CTX_set_client_cert_cb function to get the call back.
How can i get the SSL_CTX from QNetworkAccessManager?Thx
-
QNetworkAccessManager is mostly following "ship in the bottle" pattern, i.e. it does not allow you to get access to implementation details like OpenSSL to extend its functionality (unlike e.g. libcurl)
So you'll have to make a patch for QNetworkAccessManager exposing this in public API. This may also include providing implementation for SecureTransport on Apple platforms.