I am currently rewriting some existing technologies that once used RSA Security libraries in OpenSSL, but I am starting to encounter several problems. Currently, all certificate confirmation code works without failures, until this happens, I call SSL_connect ().
Prior to this, calling SSL_connect () would create SSL_ERROR_WANT_READ.
The answer to this question in another forum suggested that SSL_connect () should be called until it stops throwing SSL_ERROR_WANT_READ errors. Unfortunately, this only creates something more confusing:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
although SSL_CTX_load_verify_locations () completed successfully. Does anyone know why a validation error will not be logged in certificate methods and wait until SSL_connect () is called?
source
share