Deepstream AMQP with TLS termination endpoint support

• Hardware Platform (Jetson / GPU) : Jetson Nano
• DeepStream Version : 5.1
• JetPack Version (valid for Jetson only) : 4.5.1
• TensorRT Version : 7.1.3
• Issue Type( questions, new requirements, bugs) : configuration
• How to reproduce the issue ? : deepstream samples included in the docker image

I am opening this new topic as I wasn’t able to find a proper documentation so far that describe how to use the samples provided in the deepstream docker image for the Jetson to connect to a AMQPS endpoint.

I could successfully connect, using some python code I have developed with the pika library, to a RabbitMQ server opened on the port 5671 (so with TLS termination).

But when I try to reproduce such connection with the samples like /opt/nvidia/deepstream/deepstream-5.1/sources/apps/sample_apps/deepstream-test4 or even using the /opt/nvidia/deepstream/deepstream-5.1/sources/libs/amqp_protocol_adaptor the program is running and waiting doing nothing.

To test the SSL termination as it is describe for another protocol (kafka) I am running with success the following command either
openssl s_client -connect ****.****.net:5671 -tls1_2

Thank you for your help in this matter.

Sorry for the late response, is this still an issue to support? Thanks

Thank you for coming back to me.
Yes indeed I am still unable to connect. My assumption is that some extra settings are required to make the connection with TLS.

To illustrate is here my python code section to configure the connection.

context = ssl.SSLContext(ssl.PROTOCOL_TLSv1_2)

credentials = pika.PlainCredentials('user', 'password')
parameters = pika.ConnectionParameters('', 5671, "/", credentials=credentials, ssl_options=pika.SSLOptions(context))
connection = pika.BlockingConnection(parameters)

How to reproduce such settings with the examples provided in Deepstream to connect to an AMQP broker ?

Thank you in advance.