I need help to configure activemq ssl without any truststore instead use username and password for authentication.
I am getting the exception as no trusStore is provided: Exception in thread "main" javax.jms.JMSException: Could not create Transport. Reason: java.lang.NullPointerException at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:35) at org.apache.activemq.ActiveMQSslConnectionFactory.createTransport(ActiveMQSslConnectionFactory.java:123) at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:267) at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:239) at org.apache.activemq.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:185) Below is my configuration: <transportConnector name="ssl" uri="ssl://0.0.0.0:61617?maximumConnections=1000&wireFormat.maxFrameSize=104857600&transport.needClientAuth=true&transport.wantClientAuth=false"/> <sslContext> <sslContext keyStore="/home/shameem/dev/tools/activemq/broker.ks" keyStorePassword="password" /> </sslContext> My Spring configuration: <bean id="jmsConnectionFactory" class="org.apache.activemq.ActiveMQSslConnectionFactory"> <property name="brokerURL" value="ssl://localhost:61617" /> <property name="userName" value="admin"/> <property name="password" value="admin"/> </bean> -- View this message in context: http://activemq.2283324.n4.nabble.com/Configuring-SSL-with-No-TrustStore-and-Using-Simple-Authentication-Username-Password-tp4681580.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.