Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B20D3D1F0 for ; Tue, 11 Sep 2012 12:14:09 +0000 (UTC) Received: (qmail 87295 invoked by uid 500); 11 Sep 2012 12:14:09 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 87072 invoked by uid 500); 11 Sep 2012 12:14:08 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 87041 invoked by uid 99); 11 Sep 2012 12:14:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Sep 2012 12:14:07 +0000 Date: Tue, 11 Sep 2012 23:14:07 +1100 (NCT) From: "Gary Tully (JIRA)" To: dev@activemq.apache.org Message-ID: <80906449.62992.1347365647877.JavaMail.jiratomcat@arcas> In-Reply-To: <120557302.6211.1345740522731.JavaMail.jiratomcat@arcas> Subject: [jira] [Resolved] (AMQ-3989) ActiveMQSslConnectionFactory.setKeyAndTrustManagers does not work with failover enabled using 5.7 snapshot Jars MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQ-3989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Tully resolved AMQ-3989. ----------------------------- Resolution: Fixed thanks for the nice test case :-) Fix and additional junit test in http://svn.apache.org/viewvc?rev=1383370&view=rev > ActiveMQSslConnectionFactory.setKeyAndTrustManagers does not work with failover enabled using 5.7 snapshot Jars > --------------------------------------------------------------------------------------------------------------- > > Key: AMQ-3989 > URL: https://issues.apache.org/jira/browse/AMQ-3989 > Project: ActiveMQ > Issue Type: Bug > Affects Versions: 5.5.1, 5.6.0, 5.7.0 > Environment: 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). > Reporter: Bryce Prescott > Assignee: Gary Tully > Fix For: 5.7.0 > > Attachments: ActiveMQFailoverTest.zip > > > 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. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira