Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2A8159F05 for ; Thu, 23 Feb 2012 21:54:22 +0000 (UTC) Received: (qmail 43648 invoked by uid 500); 23 Feb 2012 21:54:21 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 43621 invoked by uid 500); 23 Feb 2012 21:54:21 -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 43613 invoked by uid 99); 23 Feb 2012 21:54:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Feb 2012 21:54:21 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of chrisdrobison@gmail.com designates 209.85.212.171 as permitted sender) Received: from [209.85.212.171] (HELO mail-wi0-f171.google.com) (209.85.212.171) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Feb 2012 21:54:15 +0000 Received: by wibhm2 with SMTP id hm2so1399852wib.2 for ; Thu, 23 Feb 2012 13:53:53 -0800 (PST) Received-SPF: pass (google.com: domain of chrisdrobison@gmail.com designates 10.216.138.234 as permitted sender) client-ip=10.216.138.234; Authentication-Results: mr.google.com; spf=pass (google.com: domain of chrisdrobison@gmail.com designates 10.216.138.234 as permitted sender) smtp.mail=chrisdrobison@gmail.com; dkim=pass header.i=chrisdrobison@gmail.com Received: from mr.google.com ([10.216.138.234]) by 10.216.138.234 with SMTP id a84mr63120wej.40.1330034033759 (num_hops = 1); Thu, 23 Feb 2012 13:53:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=xhjPK9RUh0LCEHBlclT0E8bz6t1TSMueNryll4TSG0A=; b=BTVI2+9m/zoalLb/wJ89OKgQZ4K6H7D/2UG/XmwDC3LSYKguUscM7CTK5MgaOXt5zd Sw5JW78XCG3EvlwYZyEAed66wIuDI75zDmIsr02xtdbHASHEqNOQkELldCd9pjwpWtzU ffuZUEMlUZ98iW4tCsK6oe93NEHeIjzJ7ZtVE= MIME-Version: 1.0 Received: by 10.216.138.234 with SMTP id a84mr51206wej.40.1330034033519; Thu, 23 Feb 2012 13:53:53 -0800 (PST) Received: by 10.216.9.4 with HTTP; Thu, 23 Feb 2012 13:53:53 -0800 (PST) In-Reply-To: References: Date: Thu, 23 Feb 2012 14:53:53 -0700 Message-ID: Subject: Re: Connecting via SSL using .NET From: Chris Robison To: users@activemq.apache.org Content-Type: multipart/alternative; boundary=0016e6d7755c1b6d8904b9a8ae6f --0016e6d7755c1b6d8904b9a8ae6f Content-Type: text/plain; charset=ISO-8859-1 Looking at the code, it looks like I have to be able to set the AcceptInvalidBrokerCert on the SslTransportFactory, but I can't seem to find a way to get access to that unless I create my own factory and url scheme. This seems a little severe to me. Is there something that I'm missing? Chris On Thu, Feb 23, 2012 at 11:52 AM, Chris Robison wrote: > I'm using the latest .NET activemq NMS library to connect to the broker. > I'm having some problems, I keep getting an exception that says: The remote > certificate is invalid according to the validation procedure. I've already > tried setting up a ServerCertificateValidationCallback in the > ServicePointManager, but they doesn't seem to get called. Any suggestions? > > Thanks, > Chris Robison > --0016e6d7755c1b6d8904b9a8ae6f--