Fails to create password-protected X509 certificates with OpenSSL 3.0
Hi,
In the course of transitioning to OpenSSL 3.0 in Ubuntu, we've noticed that the lemonldap-ng test suite fails on the rest-api-RSA testcase, more specifically when trying the newCertificate
REST endpoint with a password.
I tracked down the issue to https://github.com/radiator-software/p5-net-ssleay/issues/272
The possible resolutions are thus either to use a supported cipher, or to explicitly load the legacy provider on application start (along with the default provider, as explicitly loading a provider removes the default one).
You can see an example of the new provider API used to solve this problem in this commit (in the test suite) : https://github.com/radiator-software/p5-net-ssleay/commit/d0616e8d76d0328fd74af921eac2e586e06ab575