Hi there,

I'm trying to establish a mutual ssl based jms connection with my ActiveMQ
broker via a Camel application. My question is how do I let my Camel
application know about the certificate it must serve up to the broker? Is
there a Camel specific setting or is this some general Java/JAAS setting?

Here is the broker URL my Camel client uses:

failover:(ssl://localhost:61617)?maxReconnectAttempts=-1

Here is the URL that my broker uses to establish the SSL transport:

<transportConnector name="ssl"
uri="ssl://localhost:61617?needClientAuth=true" />

I have generated a certificate on the machine the Camel application is
running on and installed this in my ${JAVA_HOME/}/lib/security/cacerts
keystore. This same cert is installed on my broker's truststore.

The broker's certificate has been generated and installed in the broker's
keystore. In addition the broker's certificate has been installed on my
client's trust store (also ${JAVA_HOME/lib/security/cacerts keystore).

I have managed to get server authentication using SSL working, but not
mutual authentication.

Thank you for your help as this is my first effort with mutual
authentication.

Kind regards,
Christopher
-- 
View this message in context: 
http://www.nabble.com/Mutual-SSL-authentication-with-Camel-applications-tp22490614p22490614.html
Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.

Reply via email to