SSL does not work when Truststore is provided at command line in windows
Issue
- JBoss EAP 5.2.0 is not able to pick up the path specified for keystore in windows.
- When Truststore is given at command line, it is not able to load the keystore and gives the message "Access is denied" as follows:-
2013-11-28 14:23:00,913 ERROR [org.apache.tomcat.util.net.jsse.JSSESocketFactory] (main) Failed to load keystore type JKS with path true due to true (Access is denied)
java.io.FileNotFoundException: true (Access is denied)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:146)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getStore(JSSESocketFactory.java:352)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getTrustStore(JSSESocketFactory.java:325)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getTrustManagers(JSSESocketFactory.java:518)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.init(JSSESocketFactory.java:424)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(JSSESocketFactory.java:143)
at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:502)
at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:175)
...
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 5.2.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.