You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by djames <dp...@gmail.com> on 2013/04/09 23:41:35 UTC
How to set ssl_keyfile and ssl_certfile for python tools (to c++
broker) from the command line?
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
Re: How to set ssl_keyfile and ssl_certfile for python tools (to c++
broker) from the command line?
Posted by Jakub Scholz <ja...@scholz.cz>.
Hi Ken,
I don't know about the Qpid 0.18 release, but he might be using MRG-M 2.3
which reports it self as Qpid 0.18 and contains the SSL support in
qpid-config.
Regards
Jakub
On Wed, Apr 10, 2013 at 5:07 PM, Ken Giusti <kg...@redhat.com> wrote:
> Hi D James,
>
> I'm pretty sure the ssl options were added to qpid-config _after_ 0.18. I
> think they first appeared in the 0.20 release.
>
> Does "qpid-config --help" list them?
>
> -K
>
> ----- Original Message -----
> > From: "djames" <dp...@gmail.com>
> > To: users@qpid.apache.org
> > Sent: Tuesday, April 9, 2013 5:41:35 PM
> > Subject: How to set ssl_keyfile and ssl_certfile for python tools (to
> c++ broker) from the command line?
> >
> > 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
> >
> >
>
> --
> -K
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
> For additional commands, e-mail: users-help@qpid.apache.org
>
>
Re: How to set ssl_keyfile and ssl_certfile for python tools (to
c++ broker) from the command line?
Posted by Ken Giusti <kg...@redhat.com>.
Hi D James,
I'm pretty sure the ssl options were added to qpid-config _after_ 0.18. I think they first appeared in the 0.20 release.
Does "qpid-config --help" list them?
-K
----- Original Message -----
> From: "djames" <dp...@gmail.com>
> To: users@qpid.apache.org
> Sent: Tuesday, April 9, 2013 5:41:35 PM
> Subject: How to set ssl_keyfile and ssl_certfile for python tools (to c++ broker) from the command line?
>
> 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
>
>
--
-K
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org
Re: How to set ssl_keyfile and ssl_certfile for python tools (to c++
broker) from the command line?
Posted by Jakub Scholz <ja...@scholz.cz>.
Can you post the errors you are getting? I'm using this command and it
seems to work for me:
qpid-config -b amqps://<Username>@localhost:10101 queues
--ssl-certificate=./qpid/0101/temp/<PEM File>
--ssl-key=./qpid/0101/temp/<PEM File> --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 <dp...@gmail.com> 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
>
>