Developer
System Administrator
Jahia 7.3
How to use a custom Java Cryptographic Extension (JCE)?
Question
When I try to use the custom JSE com.rsa.jsafe.provider.JsafeJCE, I get the following error message:
javax.net.ssl.SSLException: JCE cannot authenticate the provider JsafeJCE
Answer
Jahia will need to be started with the following system parameter: org.osgi.framework.bootdelegation.extra=com.rsa.jsafe.provider
To do so, just modify the file TOMCAT_HOME/bin/setenv.sh so it contains this line:
CATALINA_OPTS="$CATALINA_OPTS -Dorg.osgi.framework.bootdelegation.extra=com.rsa.jsafe.provider"