एम्बेडेड मैं एक एम्बेडेड ActiveMQ दलाल समर्थन SSL सेट करने के कोशिश कर रहा हूँ।ActiveMQ दलाल एसएसएल
इम लगातार हो रही वही त्रुटि संदेश:
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.
इस पर सर्च कर रहे हैं कुंजीस्टोर और truststore पैदा करने में संभवतः खराबी के संकेत देता है।
मैं कुंजीस्टोर उत्पन्न करने के लिए कोशिश की और सफलता के बिना इन गाइड का उपयोग truststore है। http://docs.oracle.com/javase/6/docs/technotes/guides/security/jsse/JSSERefGuide.html#CreateKeystore
http://activemq.apache.org/how-do-i-use-ssl.html
इम इस प्रकार की तरह grails और im conf/वसंत/resources.groovy अंदर embeddedActiveMq को परिभाषित करने में सेट अप करने की कोशिश कर:
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")
क्या जावा का कोई मुद्दा हो सकता है अभी भी टी jre6/lib/security में प्रमाणपत्र फ़ाइलों का उपयोग करने के लिए rying?
वहाँ कुछ विशिष्ट आप कुंजीस्टोर आदि ठीक से काम करने के लिए आदेश में क्या करने की जरूरत है?