Return-Path: X-Original-To: apmail-qpid-users-archive@www.apache.org Delivered-To: apmail-qpid-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 44CC210593 for ; Wed, 10 Apr 2013 15:48:38 +0000 (UTC) Received: (qmail 18482 invoked by uid 500); 10 Apr 2013 15:48:37 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 18443 invoked by uid 500); 10 Apr 2013 15:48:37 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 18434 invoked by uid 99); 10 Apr 2013 15:48:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Apr 2013 15:48:37 +0000 X-ASF-Spam-Status: No, hits=3.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.128.49] (HELO mail-qe0-f49.google.com) (209.85.128.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Apr 2013 15:48:32 +0000 Received: by mail-qe0-f49.google.com with SMTP id 6so326938qeb.22 for ; Wed, 10 Apr 2013 08:48:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:x-originating-ip:in-reply-to:references :date:message-id:subject:from:to:content-type:x-gm-message-state; bh=z8r4+5PSVBqodGG+aSoNnRijdeFCvQmPi6i6qvcV/S8=; b=QEVbhdIv91L6ZRjZnUS543nBxRMfw4u38VtLiLh+EjPBsaQmxmW/I4c7tT6NTxPkae 8H0MmseCQu5bmOMx+S5iQx6n76VnbfMXwXz7KxX0tQWlmX5D7W8N1pXViZ9evRuhZ7Jc WCRqAK6ksnk3cdlm8yKxaXkQzaqhuAYtZDSSymeBwL+oMwFbbA8NYtu/JP+JssaOczUO cTCvp1AhvWZWjf775blAEtrCwACiOvFGUmyBNjHc3Pq/Jp9dqe9XgKB1ZcNk4NZrww/w f7n21q/I4Q09bk3kH1EJE0g5QEfdm7N0LdxE9MuksD1ZO3EDHIQoXFwhD5Qes8kMgNMr KD2Q== MIME-Version: 1.0 X-Received: by 10.49.106.40 with SMTP id gr8mr1572377qeb.42.1365608890536; Wed, 10 Apr 2013 08:48:10 -0700 (PDT) Received: by 10.49.60.230 with HTTP; Wed, 10 Apr 2013 08:48:10 -0700 (PDT) X-Originating-IP: [193.29.76.37] In-Reply-To: <1365543695277-7591358.post@n2.nabble.com> References: <1365543695277-7591358.post@n2.nabble.com> Date: Wed, 10 Apr 2013 17:48:10 +0200 Message-ID: Subject: Re: How to set ssl_keyfile and ssl_certfile for python tools (to c++ broker) from the command line? From: Jakub Scholz To: users@qpid.apache.org Content-Type: multipart/alternative; boundary=047d7b675db0d2a85a04da0398d2 X-Gm-Message-State: ALoCoQmqCiB8IdMX0YfcbWgqsXqwSIHp3mdSeQzWRWWOsPPgr5xTAy1F3UrKsLrZvdo5dzq6/lGI X-Virus-Checked: Checked by ClamAV on apache.org --047d7b675db0d2a85a04da0398d2 Content-Type: text/plain; charset=ISO-8859-1 Can you post the errors you are getting? I'm using this command and it seems to work for me: qpid-config -b amqps://@localhost:10101 queues --ssl-certificate=./qpid/0101/temp/ --ssl-key=./qpid/0101/temp/ --sasl-mechanism=EXTERNAL The PEM file is a file containing both private and public key of the user certificate used for EXTERNAL mechanism. The username is the username of the user you are connecting as (i.e. the CN from the certificate). Regards Jakub On Tue, Apr 9, 2013 at 11:41 PM, djames wrote: > I have been trying to do this for a few days. My python is not very strong. > > I have been trying combinations and permutions of: > qpid-config -b amqps://localhost , ssl_certfile="/path/to/certfile", > ssl_keyfile="/path/to/keyfile" --sasl-mechanism='EXTERNAL' > > I am currently using qpid 0.18. > > An example from someone that knows what they are doing would be very > welcome. > > D James > > > > > -- > View this message in context: > http://qpid.2158936.n2.nabble.com/How-to-set-ssl-keyfile-and-ssl-certfile-for-python-tools-to-c-broker-from-the-command-line-tp7591358.html > Sent from the Apache Qpid users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org > For additional commands, e-mail: users-help@qpid.apache.org > > --047d7b675db0d2a85a04da0398d2--