Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 33002 invoked from network); 29 May 2008 00:36:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 May 2008 00:36:24 -0000 Received: (qmail 54938 invoked by uid 500); 29 May 2008 00:36:25 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 54906 invoked by uid 500); 29 May 2008 00:36:25 -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 54895 invoked by uid 99); 29 May 2008 00:36:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 May 2008 17:36:25 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 May 2008 00:35:38 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 53688234C12E for ; Wed, 28 May 2008 17:36:00 -0700 (PDT) Message-ID: <24620545.1212021360340.JavaMail.jira@brutus> Date: Wed, 28 May 2008 17:36:00 -0700 (PDT) From: "Sudip Shrestha (JIRA)" To: dev@activemq.apache.org Subject: [jira] Updated: (AMQ-1754) org.apache.activemq.ActiveMQSslConnectionFactory extended to incorporate client.ks/client.ts files to enable convenient use of JNDI via SSL. In-Reply-To: <861116892.1212006240267.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQ-1754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sudip Shrestha updated AMQ-1754: -------------------------------- Attachment: (was: ActiveMQSslConnectionFactoryx.java) > org.apache.activemq.ActiveMQSslConnectionFactory extended to incorporate client.ks/client.ts files to enable convenient use of JNDI via SSL. > -------------------------------------------------------------------------------------------------------------------------------------------- > > Key: AMQ-1754 > URL: https://issues.apache.org/activemq/browse/AMQ-1754 > Project: ActiveMQ > Issue Type: Improvement > Components: Transport > Affects Versions: 4.0, 4.0.1, 4.0.2, 4.1.0, 4.1.1, 4.1.2, 5.0.0, 5.1.0 > Environment: have tested with activemq-4.2.snapshot but should work with any version. > Reporter: Sudip Shrestha > Attachments: ActiveMQSslConnectionFactory.java, ActiveMQSslConnectionFactoryx.java > > > Steps to use this class: > - Follow instrucations at http://activemq.apache.org/how-do-i-use-ssl.html, to create client.ks/client.ts files for your jms client. If you were to connect to the JMS server without using the extended class would necessiate the user set the following system properties for his VM: > javax.net.ssl.keyStore=/path/to/client.ks > javax.net.ssl.keyStorePassword=password > javax.net.ssl.trustStore=/path/to/client.ts > - Instead of the above, if used the attached class ActiveMQSslConnectionFactoryx then the constructor public ActiveMQSslConnectionFactoryx(String keyStore, String keyStorePassword, String trustStore) calls the setKeyAndTrustManagers() method of the org.apache.activemq.ActiveMQSslConnectionFactory there by setting up the ConnectionFactory via SSL. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.