Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 90654 invoked from network); 26 Mar 2009 17:18:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Mar 2009 17:18:11 -0000 Received: (qmail 94913 invoked by uid 500); 26 Mar 2009 17:18:10 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 94805 invoked by uid 500); 26 Mar 2009 17:18:10 -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 94595 invoked by uid 99); 26 Mar 2009 17:18:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Mar 2009 17:18:03 +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 (athena.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 17:17:56 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LmtCx-0007ec-E5 for users@activemq.apache.org; Thu, 26 Mar 2009 10:17:35 -0700 Message-ID: <22726767.post@talk.nabble.com> Date: Thu, 26 Mar 2009 10:17:35 -0700 (PDT) From: soody To: users@activemq.apache.org Subject: Re: Alternatives for deprecated setKeyAndTrustManagers in ActiveMQSSLConnectionFactory In-Reply-To: <22724170.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: atinsood@gmail.com References: <22724170.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Am i missing some information or is the question too dumb. Why is no one answering %-| soody wrote: > > 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( it here>). > > 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-tp22724170p22726767.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.