activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bryce <br...@mbsys.us>
Subject Re: Certificate unknown error AFTER failover enabled
Date Wed, 22 Aug 2012 15:12:05 GMT
The problem is now solved...

It turns out that ActiveMQSslConnectionFactory.setKeyAndTrustManagers does
not work (at least in this context).

Replacing that the following does work:

System.setProperty("javax.net.ssl.keyStore",KEY_STORE_FILE_NAME);
System.setProperty("javax.net.ssl.keyStorePassword",KEY_STORE_PASSWORD);
System.setProperty("javax.net.ssl.trustStore",TRUST_STORE_FILE_NAME); 
System.setProperty("javax.net.ssl.trustStorePassword",TRUST_STORE_PASSWORD);

For Mirth (in case anyone out there is using it) I added command line flags
(-Djavax...) corresponding to the ones above to the vmoptions file.

Just wanted to let everyone know in case they have similar problems.



--
View this message in context: http://activemq.2283324.n4.nabble.com/Certificate-unknown-error-AFTER-failover-enabled-tp4655212p4655433.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message