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 CC4C31012A for ; Mon, 9 Sep 2013 14:43:42 +0000 (UTC) Received: (qmail 11084 invoked by uid 500); 9 Sep 2013 14:43:42 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 10775 invoked by uid 500); 9 Sep 2013 14:43:42 -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 10767 invoked by uid 99); 9 Sep 2013 14:43:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Sep 2013 14:43:41 +0000 X-ASF-Spam-Status: No, hits=0.9 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tabish121@gmail.com designates 209.85.216.178 as permitted sender) Received: from [209.85.216.178] (HELO mail-qc0-f178.google.com) (209.85.216.178) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Sep 2013 14:43:36 +0000 Received: by mail-qc0-f178.google.com with SMTP id r5so3345586qcx.37 for ; Mon, 09 Sep 2013 07:43:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=90SoJJX0f8NfYM+0VD8Ia+BxAavE+j48fsxCvm7qSrs=; b=fN7EBI67qtpRZz9gDEj8yEbQkPS0KHHfpDiElYhZoPG4iVYaaz+u2JqOZfJtfQx2Dl sBfkh5GqjpveaTHaB7tfQvQipoABSdQKTYAymgxmI5k59il04SayqC35Gw3T87QL8pqL RV3x7G7SZ72BPQw20QeJWE6mC65hW8kufTcMpPpxr9trwvX2cSiRocOkLa05v6lWF5So iMi77Q6XUHK4wZGZnSrMz7h1xpSiYA7LQEBv4xu/MVaP06+do97C2hB8RCs6Pxtj06MC LmJUnz5hV6fDjfYCpeVVWACWiL6yvRnkGBp3kRWb3KPrhJMK9mz8z/dsveviJQUA6Wgw CwMA== X-Received: by 10.224.50.71 with SMTP id y7mr1927905qaf.62.1378737795950; Mon, 09 Sep 2013 07:43:15 -0700 (PDT) Received: from [192.168.2.150] (c-98-218-173-79.hsd1.va.comcast.net. [98.218.173.79]) by mx.google.com with ESMTPSA id h6sm25995111qej.4.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 09 Sep 2013 07:43:15 -0700 (PDT) Message-ID: <522DDE82.4050306@gmail.com> Date: Mon, 09 Sep 2013 10:43:14 -0400 From: Timothy Bish User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130803 Thunderbird/17.0.8 MIME-Version: 1.0 To: users@activemq.apache.org Subject: Re: setting up c++ client app using CMS using SSL client certificate auth References: <1363220102042-4664686.post@n4.nabble.com> <1363279075329-4664723.post@n4.nabble.com> <1377265307837-4670612.post@n4.nabble.com> <52176760.1080402@gmail.com> <1378369277586-4671213.post@n4.nabble.com> <522891A3.2080909@gmail.com> <1378555217396-4671281.post@n4.nabble.com> <522B34FB.9090606@gmail.com> <1378726674479-4671294.post@n4.nabble.com> In-Reply-To: <1378726674479-4671294.post@n4.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 09/09/2013 07:37 AM, yuanbatou wrote: > Now, it pass test when both my activeMQ broker and client are on the same > windows PC. > But it fails if I put the broker at my ubuntu virtual machine. > > > > -- > View this message in context: http://activemq.2283324.n4.nabble.com/setting-up-c-client-app-using-CMS-using-SSL-client-certificate-auth-tp4664686p4671294.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > One thing that could be happening is that you are using a different host name in the URI when connecting to the Broker on the VM which doesn't match the common name field in the Certificate you have created. -- Tim Bish Sr Software Engineer | RedHat Inc. tim.bish@redhat.com | www.fusesource.com | www.redhat.com skype: tabish121 | twitter: @tabish121 blog: http://timbish.blogspot.com/