Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
5.5.1, 5.6.0, 5.7.0
-
None
-
None
-
GNU/Linux (shouldn't matter too much) using a SslBroker embedded in Java code running in Tomcat (I've tested it without Tomcat and the same thing happens).
Description
I've been using ActiveMQ with SSL enabled for months now. After enabling failover on the broker and connecting using a failover URL I get this error:
certificate_unknown
I find two workaround: one using System.setProperty, the other using Thread.setSslContext. But these are workarounds and I'd rather do things the appropriate way.
This is similar to the issue posted in this JIRA:
https://issues.apache.org/jira/browse/AMQ-3785. The issue is marked as resolved but I am still getting that error using 5.7 snapshot Jars.
I'll attach a zip file containing very simple code and test case.