Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 44343 invoked from network); 26 Mar 2009 16:31:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Mar 2009 16:31:48 -0000 Received: (qmail 29670 invoked by uid 500); 26 Mar 2009 15:22:02 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 29656 invoked by uid 500); 26 Mar 2009 15:22:02 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 29646 invoked by uid 99); 26 Mar 2009 15:22:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Mar 2009 15:22:02 +0000 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Mar 2009 15:21:54 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LmrOf-0001vd-Ks for users@activemq.apache.org; Thu, 26 Mar 2009 08:21:33 -0700 Message-ID: <22724170.post@talk.nabble.com> Date: Thu, 26 Mar 2009 08:21:33 -0700 (PDT) From: soody To: users@activemq.apache.org Subject: Alternatives for deprecated setKeyAndTrustManagers in ActiveMQSSLConnectionFactory MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: atinsood@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org We want to use SSL in our client that will be sending messages to ActiveMQ. But we can't set the trust stores and key stores using System.setProperty(), as our's is an enterprise application. Are there any ways that I can set the trust and key stores, basically the SSLContext. Currently what we are thinking is that we will be using the SSLContext.setCurrentSslContext(). Is there any better approach. Also will be great if we can get anything more pluggable, s.th that we can use across multiple JMS providers. Also why is the method setKeyAndTrustManagers marked as deprecated and what is the workaround for the same. -- View this message in context: http://www.nabble.com/Alternatives-for-deprecated-setKeyAndTrustManagers-in-ActiveMQSSLConnectionFactory-tp22724170p22724170.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.