Hi Folks,
We are getting the below:
Could not reconstruct the private key, the given algorithm could not be found.java.security.NoSuchAlgorithmException: no such algorithm: RSA for provider BC
Any leads please. This happening only on one environment. The lower environment is working just fine, with same setup.
AEM Forms Package 6.5, Service Pack 10.
Solved! Go to Solution.
Views
Replies
Total Likes
Can you check if the following lines are added in your sling.properties file:
sling.bootdelegation.class.com.rsa.jsafe.provider.JsafeJCE=com.rsa.* sling.bootdelegation.class.org.bouncycastle.jce.provider.BouncyCastleProvider=org.bouncycastle.*
When are you getting this?
This one seems to be an issue[0] with the algorithm used to create/convert the private key. Please review the steps[1] followed to enable SSL on this particular set-up.
Also, are you getting this msg in the log file continously or while enabling SSL on this set-up?
[0] -
the given algorithm could not be found.java.security.NoSuchAlgorithmException: no such algorithm:
Can you check if the following lines are added in your sling.properties file:
sling.bootdelegation.class.com.rsa.jsafe.provider.JsafeJCE=com.rsa.* sling.bootdelegation.class.org.bouncycastle.jce.provider.BouncyCastleProvider=org.bouncycastle.*
This worked @Mayank_Tiwari, post comparing the sling.properties files on two different environment. We found this was missing and added.