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 76066D576 for ; Mon, 17 Dec 2012 19:02:13 +0000 (UTC) Received: (qmail 68998 invoked by uid 500); 17 Dec 2012 19:02:13 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 68946 invoked by uid 500); 17 Dec 2012 19:02:13 -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 68859 invoked by uid 99); 17 Dec 2012 19:02:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Dec 2012 19:02:12 +0000 Date: Mon, 17 Dec 2012 19:02:12 +0000 (UTC) From: "Timothy Bish (JIRA)" To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (AMQ-4227) ActiveMQSslConnectionFactory does not allow for regular files to be found unless a valid URL is provided or is located on the classpath 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-4227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Timothy Bish resolved AMQ-4227. ------------------------------- Resolution: Fixed Assignee: Timothy Bish Patch applied, thanks! > ActiveMQSslConnectionFactory does not allow for regular files to be found unless a valid URL is provided or is located on the classpath > --------------------------------------------------------------------------------------------------------------------------------------- > > Key: AMQ-4227 > URL: https://issues.apache.org/jira/browse/AMQ-4227 > Project: ActiveMQ > Issue Type: Bug > Components: JMS client > Affects Versions: 5.7.0, 5.8.0 > Environment: Any > Reporter: Claudio Corsi > Assignee: Timothy Bish > Labels: client > Fix For: 5.8.0 > > Attachments: client.keystore, server.keystore, ssltruststore.patch > > > The factory class does not allow one to pass a keystore or truststore file name that is not a properly formatted URL string or is located within the classpath. > The problem is that the getUrlOrResourceAsStream method does not take into account a regular file name. > The patch includes a fix that provides that ability without removing the ability to pass a valid URL string or having the store be located within the client classpath. -- 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