简体   繁体   中英

OpenSSL SSL_CTX conflict with QT sslErrors

After using "SSL_CTX * _sslctx = ..." in my project, the QT signals sslErrors are not executed. It just returns the error: "qt.network.ssl: Neither X509_STORE, nor SSL contains error list, handshake failure"

I don't intend to use QT to work with certificates, just OpenSSL because I use Libxml2. Using separate QT network and OpenSSL is returning this error when using SSL_CTX.

Does anyone know what must be done?

如果您的操作系统是Windows,您应该安装OpenSSL

What I've found so far is that no class that has "SSL_CTX", can have connection to the QT class of the network that uses "sslErrors signals" in its project, this will give a problem. If you #include "class_with_ssl_clx", or inherit from a parent class that has "SSL_CTX", you will also have problems with signals.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM