How to disable openssl legacy provider #4058
Unanswered
old-ratboy
asked this question in
Q&A
Replies: 1 comment
-
|
You should set the openssl environment variables.Such as OPENSSL_HOME,OPENSSL_CONF, OPENSSL_MODULES,and add them to system variables "Path". |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to disable the check within OpenSSLInitializer::initialize() that tries to load the legacy provider?
if (!_legacyProvider) { _legacyProvider = OSSL_PROVIDER_load(NULL, "legacy"); if (!_legacyProvider) throw CryptoException("Failed to load OpenSSL legacy provider"); }The project I am working on doesn't have the legacy provider assemblies for openssl 3.1.X, and I am trying to find the best way to work around this.
Beta Was this translation helpful? Give feedback.
All reactions