Hi all,

I am trying to connect HermesJMS to an avtiveMQ broker over an SSL
transport.
But am unable to load the Keystore Path in the
org.apache.activemq.ActiveMQSslConnectionFactory configuration.

*The configuration in HermesJMS is :

brokerURl : ssl//localhost:61616
keyStore : c:\certs\broker.ks
keyStorepassword :xxxxx*

I have my  keystore in c:\certs\broker.ks .But it ends with an error saying

/javax.jms.JMSException: Could not create Transport. Reason:
java.io.IOException: Could not load resource:c:\certs\broker.ks
        at
org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:35)
        at
org.apache.activemq.ActiveMQSslConnectionFactory.createTransport(ActiveMQSslConnectionFactory.java:113)
        at
org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:265)
        at
org.apache.activemq.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:191)
        at
hermes.impl.jms.ConnectionManagerSupport.createConnection(ConnectionManagerSupport.java:126)
        at
hermes.impl.jms.ConnectionManagerSupport.createConnection(ConnectionManagerSupport.java:92)
        at
hermes.impl.jms.ConnectionSharedManager.reconnect(ConnectionSharedManager.java:81)
        at
hermes.impl.jms.ConnectionSharedManager.connect(ConnectionSharedManager.java:91)
        at
hermes.impl.jms.ConnectionSharedManager.getConnection(ConnectionSharedManager.java:104)
        at
hermes.impl.jms.ConnectionSharedManager.getObject(ConnectionSharedManager.java:142)
        at
hermes.impl.jms.ThreadLocalSessionManager.connect(ThreadLocalSessionManager.java:190)
        at
hermes.impl.jms.ThreadLocalSessionManager.getSession(ThreadLocalSessionManager.java:570)
        at
hermes.impl.DefaultHermesImpl.createTextMessage(DefaultHermesImpl.java:271)
        at
hermes.browser.actions.AbstractEditedMessageHandler.createTextMessage(AbstractEditedMessageHandler.java:61)
        at
hermes.browser.dialog.message.JMSHeaderPropertyPanel.createMessage(JMSHeaderPropertyPanel.java:111)/
        
Guide me in configuring the HermesJMS with SSL .

Thanks,
Mahesh



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/HermesJMS-connection-to-ActivemQ-Over-SSL-tp4691094.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.

Reply via email to