SSLをサポートする組み込みActiveMQブローカーをセットアップしようとしています。ActiveMQ組み込みブローカーSSL
イム連続して取得同じエラーメッセージ:
ActiveMQ Transport Server: ssl://localhost:61613, called closeSocket()
2012-05-04 12:53:11,961 [ActiveMQ Transport Server: ssl://localhost:61613] ERROR broker.TransportConnector - Could not accept connection : No available certificate or key corresponds to the SSL cipher suites which are enabled.
この上の検索は、キーストアとトラストストアを生成するには、おそらく故障の表示を提供します。
これらのガイドを使用して成功しなくても、キーストアとトラストストアを生成しようとしました。 http://docs.oracle.com/javase/6/docs/technotes/guides/security/jsse/JSSERefGuide.html#CreateKeystore
http://activemq.apache.org/how-do-i-use-ssl.html
次のようconfに/春/ resources.groovy内embeddedActiveMqを定義Grailsとイムでこれを設定しようとしているイム:
SpringSslContext sslContext = new SpringSslContext()
FileSystemResource keyStoreResource = new FileSystemResource("/path/to/keyStore")
FileSystemResource trustStoreResource = new FileSystemResource("/path/to/trustStore")
sslContext.setKeyStore(keyStoreResource)
sslContext.setKeyStorePassword("password")
sslContext.setTrustStore(trustStoreResource)
sslContext.setTrustStorePassword("trustword")
SslBrokerService broker = new SslBrokerService()
broker.setBrokerName("broker")
broker.setPersistent(true)
broker.setUseJmx(true)
broker.setSslContext(sslContext)
TransportConnector connector = new TransportConnector
connector.setUri(new("ssl://localhost:61613"))
broker.addConnector(connector)
broker.start()
私は本当に、他のvalubleのデバッグを得るカント情報を使用して
System.setProperty("javax.net.debug", "ssl,handshake,data,trustmanager,keymanager")
Javaがまだtの問題がありますかjre6/lib/securityの証明書ファイルを使用するには?
キーストアなどを正しく動作させるために必要な作業はありますか?