I m试图建立一个支持SSL的嵌入式积极MQ中间商。
不断发现同样的错误:
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.
寻找这一点表明,在创造关键仓库和信托机构方面可能出现故障。
I have tried to generate the keystore and truststore using these guides without success. http://docs.oracle.com/javase/6/docs/technotes/guides/security/jsse/JSSERefGuide.html#CreateKeystore
试图在铁路中建立这种设施,并界定嵌入式活动 Mq in conf/children/resources. gro:
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()
我确实必须获得任何其他可估价的欺骗信息,然后使用这些信息。
System.setProperty("javax.net.debug", "ssl,handshake,data,trustmanager,keymanager")
这支 j是否仍在试图在jre6/lib/security中使用证书档案?
你们是否需要做些什么才能使关键仓库等工作得到妥善解决?