activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akshattandon <akshat....@gmail.com>
Subject Securing JMS queque
Date Wed, 13 Aug 2014 11:29:27 GMT
Hi 

I am facing an issue while configuring ssl for JMS on apache service mix , 

I have configured the broker in its blueprint file 

<bean id="jms" class="org.apache.camel.component.jms.JmsComponent">
		<property name="connectionFactory">
			<bean class="org.apache.activemq.ActiveMQSslConnectionFactory">
				  <property name="trustStore" value="C:/client.ts" />
				  <property name="trustStorePassword" value="abc" />
				  <property name="keyStore" value="C:/broker.ks" />
				  <property name="keyStorePassword" value="password" />
				  <property name="brokerURL"
value="nio+ssl://localhost:61617?trace=true" />
				  <property name="userName" value="smx" /> 
				  <property name="password" value="smx" />
			</bean>
		</property>
	</bean>

along with it i have configured activemq.xml with following entries 

	<sslContext>
			<sslContext 
			  keyStore="C:/broker.ks" keyStorePassword="abc" 
			  trustStore="C:/client.ts" trustStorePassword="abc" />
		</sslContext>
        <transportConnectors>
             
			  <transportConnector name="openwire"
uri="nio+ssl://localhost:61617?trace=true&amp;needClientAuth=true&amp;maximumConnections=1000&amp;wireFormat.maxFrameSize=104857600"/>
        </transportConnectors>


the broker is started sucessfully and started publishing on 
Publishing: nio+ssl://127.0.0.1:61617 for broker transport URI:
nio+ssl://127.0.0.1:61617?trace=true&needClientAuth=true&maximumConnections=1000&wireFormat.maxFrameSize=104857600

but somehow connections are created on tcp 
and being displayed like following 

tcp://127.0.0.1:49881	


can someone guide us how to make the connection as ssl as well 

 





--
View this message in context: http://activemq.2283324.n4.nabble.com/Securing-JMS-queque-tp4684509.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message