Gordon Sim schrieb:
> Use the proton library for python. There is an overview, a tutorial, some
> examples and an API reference of sorts:
> https://qpid.apache.org/proton/index.html. Feel free also to ask questions
> on this list.

Another question.

I need SSL with client cert.

That is, using the Proton-Python binding, I want to connect to an AMQP
1.0 server with SSL and SSL client cert authentication.

In qpid-python this was fairly straight forward.  The system "ca_cert"
store was used automatically to check the server certificate.  The
client certificate was provided directly to the connection:

    conn = Connection('amqps://...', ssl_certfile='/path/to/client-cert.pem')

How does this work in Proton?  What arguments do I need to pass
to Connection or BlockingConnection?

    conn = BlockingConnection('amqps://...', ???)

Without any arguments, this even fails to check the server SSL
certificate, I don't even get a chance to provide the client cert:

    Connection amqps://... disconnected:
    Condition('amqp:connection:framing-error',
              'SSL Failure:error:14094412:SSL routines:ssl3_read_bytes:sslv3 
alert bad certificate')


Regards,
Volker

-- 
Volker Diels-Grabsch
----<<<((()))>>>----

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to