Some working C++ code that I'm porting from Linux to Windows is failing on windows because SSL_get_verify_result()
is returning X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY
.
The code was using SSL_CTX_set_default_verify_paths()
on Linux to tell SSL to just look in the standard default locations for the certificate store.
Is it possible to get OpenSSL to use the system certificate store?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…