I'm sorry.
I just realized Thread.setSslContext is wrong. I meant
SslContext.setCurrentSslContext
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Certificate-unknown-error-AFTER-failover-enabled-tp4655212p4655544.html
Sent from the ActiveMQ - User mailing list archive at
I created a new JIRA (linking to the old one) here:
https://issues.apache.org/jira/browse/AMQ-3989
Please vote for it so Apache will look at the issue.
Thanks.
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Certificate-unknown-error-AFTER-failover-enabled-tp4655212p46
Yes it is related to that JIRA. The JIRA says that 5.7 fixes this is, BUT I
have re-tested my test code with the 5.7 snapshot and setKeyAndTrustManagers
does not work.
I find two workaround: one using System.setProperty, the other using
Thread.setSslContext. But these are workarounds and I'd rathe
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.keyStorePasswor
Sorry, the previous post was truncated by the forum. Here it is again:
1. Create an embedded ActiveMQ TCP broker with failover enabled
2. Connect to the embedded ActiveMQ TCP broker with failover URL
3. Stop connection and embedded ActiveMQ TCP broker
4. Create an embedded ActiveMQ SSL broker w
Attached is a ZIP file with all necessary code, libraries, and certificates.
The project can be opened in Netbeans. Make sure to change the running
directory to the folder enclosed in the ZIP file. Everything else is
specified as a relative path.
The code is very simple and demonstrates the test
I might try to post some test code later. For now...
Does failover work with SSL?
I ask because once I disable SSL it works fine.
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Certificate-unknown-error-AFTER-failover-enabled-tp4655212p4655257.html
Sent from the Activ
It shouldn't matter too much, but here is the way in which I am utilizing
ActiveMQ...
I am using an embedded ActiveMQ broker (via SslBrokerService) in Java code
for our company's software. I connect to the ActiveMQ broker (via
ActiveMQSslConnectionFactory) from two places: inside the Java code and
I am using a SslBrokerService object inside of the software I am working
with. When running from the command line, a lot of helpful ActiveMQ info
messages popup in the console. When the software is deployed via Tomcat then
I get nothing. I have log4j setup for the software I am working with, but
Ac