OPENSSL Issue: Failed to load OpenSSL legacy provider #21417
-
Hi Team I have built my OPENSSL library with 'no-asm no-idea no-mdc2 no-rc5 no-ssl3 enable-weak-ssl-ciphers' flags. Then I built my binary using above two libraries. But while running the binary I am getting an exception : Crypto Exception: Failed to load OpenSSL legacy provider When I tracked it down , found that it is coming from So I tried to provide the legacy.so in /usr/lib during run time as well I set [openssl_init] [provider_sect] [legacy_sect] in /etc/ssl/openssl.cnf also. But still facing the same issue. So, I have some query about it.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The legacy.so must be placed in a directory where the libcrypto looks for it. |
Beta Was this translation helpful? Give feedback.
The legacy.so must be placed in a directory where the libcrypto looks for it.
make install
should place it there.