1

server.xmlでHTTPコネクタを構成し、いくつかのssl機能を追加しました。特定の証明書のエイリアスの名前であるkeyAliasを設定しようとしました(キーストアの秘密鍵ではありません)。次に、JBossを起動すると、次のようになります。

[2012-04-12 17:01:37,236 ERROR [org.apache.coyote.http11.Http11Protocol] Error 
initializing endpoint
java.io.IOException: Alias name <somealias> do not indetify a key entry

私はSSL構成とWebセキュリティのコアコンセプトにも慣れていません。お待ち頂きまして、ありがとうございます。

編集:完全なスタックトレースは次のとおりです。

at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getKeyManagers(JSSESocketFactory.java:412)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.init(JSSESocketFactory.java:378)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(JSSESocketFactory.java:135)
at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:497)
at org.apache.tomcat.util.net.JIoEndpoint.start(JIoEndpoint.java:514)
at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:203)
at org.apache.catalina.connector.Connector.start(Connector.java:1146)
at org.jboss.web.tomcat.service.JBossWeb.startConnectors(JBossWeb.java:601)
at org.jboss.web.tomcat.service.JBossWeb.handleNotification(JBossWeb.java:638)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:153)
at $Proxy46.handleNotification(Unknown Source)
at org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotification(JBossNotificationBroadcasterSupport.java:127)
at org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotification(JBossNotificationBroadcasterSupport.java:108)
at org.jboss.system.server.ServerImpl.sendNotification(ServerImpl.java:916)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:497)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:508)
at java.lang.Thread.run(Thread.java:662)
4

1 に答える 1

1

キーのプロパティをインポートしていないようです。これらの2つのドキュメントに対する手順を確認することをお勧めします

http://docs.jboss.org/jbossweb/3.0.x/ssl-howto.html

短いバージョンはこちら

http://www.agentbob.info/agentbob/79-AB.html
于 2012-04-13T03:51:34.303 に答える