Ok. I made those cert again, after doing some research on google which said
my keystore might be corrupted. Now I am getting the following exception:
============================
Exception in thread "main" javax.jms.JMSException: Error creating
connection: Unable to Connect
at
org.apache.qpid.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:286)
at
com.source.qpid.producer.MyMsgProducer.getConnection(MyMsgProducer.java:232)
at com.source.qpid.producer.MyMsgProducer.main(MyMsgProducer.java:245)
Caused by: org.apache.qpid.AMQConnectionFailureException: Unable to Connect
at org.apache.qpid.client.AMQConnection.<init>(AMQConnection.java:472)
at
org.apache.qpid.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:276)
... 2 more
Caused by: org.apache.qpid.transport.TransportException: Error creating SSL
Context
at
org.apache.qpid.transport.network.security.SecurityLayer$SSLSecurityLayer.<init>(SecurityLayer.java:122)
at
org.apache.qpid.transport.network.security.SecurityLayer.init(SecurityLayer.java:53)
at
org.apache.qpid.transport.TransportBuilder.init(TransportBuilder.java:45)
at org.apache.qpid.transport.Connection.connect(Connection.java:240)
at
org.apache.qpid.client.AMQConnectionDelegate_0_10.makeBrokerConnection(AMQConnectionDelegate_0_10.java:184)
at
org.apache.qpid.client.AMQConnection.makeBrokerConnection(AMQConnection.java:609)
at org.apache.qpid.client.AMQConnection.<init>(AMQConnection.java:396)
... 3 more
Caused by: java.lang.NullPointerException
at java.io.File.<init>(File.java:222)
at
org.apache.qpid.transport.network.security.ssl.SSLUtil.getInitializedKeyStore(SSLUtil.java:166)
at
org.apache.qpid.ssl.SSLContextFactory.buildServerContext(SSLContextFactory.java:168)
at
org.apache.qpid.transport.network.security.ssl.SSLUtil.createSSLContext(SSLUtil.java:156)
at
org.apache.qpid.transport.network.security.SecurityLayer$SSLSecurityLayer.<init>(SecurityLayer.java:118)
... 9 more
===================================
Regards,
Parkirat Singh Bagga
--
View this message in context:
http://qpid.2158936.n2.nabble.com/SSL-between-client-and-broker-Exception-tp7581936p7581943.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]