I tried follow this article to configure openSSL. My config looks like:
<connector name="https" protocol="HTTP/1.1" scheme="https" socket-binding="https" secure="true">
<ssl password="mykey" certificate-key-file="C:\Apps\jboss-as-7.1.1.Final\standalone\configuration\newkey.pem" certificate-file="C:\Apps\jboss-as-7.1.1.Final\standalone\configuration\newcert.pem"/>
</connector>
But when I try to start my server it looks like it expects the files in the java format:
20:41:45,625 ERROR [org.apache.tomcat.util.net.jsse.JSSESocketFactory] (MSC service thread 1-2) Failed to load keystore type JKS with path C:\Apps\jboss-as-7.1.1.Final\standalone\configuration\newkey.pem due to Invalid keystore format: java.io.IOException: Invalid keystore format
at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:633) [rt.jar:1.6.0]
at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:38) [rt.jar:1.6.0]
Can anyone help?
Thanks
Leon