AnsweredAssumed Answered

Error sending mail: Invalid keystore format

Question asked by thenetstriker on Dec 22, 2014
Latest reply on Dec 30, 2014 by zydoon
I've configured my Alfresco (5.0.c) installation to send mails over, but I get errors regarding the java keystore.

The exception is very long, so I've uploaded it to pastebin:

At the bottom of the exception is the interesting part:

Caused by: Invalid keystore format
   at Source)
   at$JKS.engineLoad(Unknown Source)
   at Source)
   at Source)
   at$DefaultSSLContext.getDefaultTrustManager(Unknown Source)
   at$DefaultSSLContext.<init>(Unknown Source)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
   at java.lang.reflect.Constructor.newInstance(Unknown Source)
   … 117 more

My cacerts keystore is in JCEKS format. I think for some reason Alfresco tries to load the keystore in a different format.
I've already tried to set the JAVA_OPTS in, but that didn't make any difference:

How can I solve this problem?