客户公司给我一个.pem文件和密码,以便在JBOSS AS7上添加。
这就是我所做的:
keytool -import -alias runtime -file mymobile.com.pem -keystore /opt/my/ssl/my.keystore
ssl name="ssl" key-alias="runtime" password="mypass" certificate-key-file="/opt/my/ssl/jboss.keystore" cipher-suite="ALL" protocol="TLS"
但是当我重新启动JBOSS时。 它引发了我的错误:
2013-03-14 10:18:32,249 ERROR [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-22) Error initializing endpoint: java.io.IOException: **Alias name runtime does not identify a key entry**
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getKeyManagers(JSSESocketFactory.java:517) [jbossweb-7.0.13.Final.jar:]
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.init(JSSESocketFactory.java:452) [jbossweb-7.0.13.Final.jar:]
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(JSSESocketFactory.java:168) [jbossweb-7.0.13.Final.jar:]
at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:977) [jbossweb-7.0.13.Final.jar:]
at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:190) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.connector.Connector.init(Connector.java:983) [jbossweb-7.0.13.Final.jar:]
请帮助我,因为我有来自客户的压力....