RabbitMQ Client v3.6.9 and c# : how to use amqps?

244 views
Skip to first unread message

its Win32nipuh

unread,
Mar 10, 2022, 10:04:47 AM3/10/22
to rabbitmq-users
I have a c# application (NET Framework 4.5) and RabbitMQ.Client (3.6.9). When I use this:
ConnectionFactory connectionFactory = new ConnectionFactory { Uri = "amqp://xxxxx", UserName = "guest", Password = "guest" };
it connects to the broker fine. 
If I use Uri = "amqps://xxxx" then I receive an error
Error: None of the specified endpoints were reachable
How I can use amqps ? Note. AWS RabbitMQ required amqps.

Note: I have checked in c# app NET F4.8+RabbitMQ client 6.* - amqps works

Wes Peng

unread,
Mar 10, 2022, 11:28:11 AM3/10/22
to rabbitm...@googlegroups.com
You need to configure and enable SSL for the server.
Thanks 

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/bd2cf3c7-a9a3-4ad3-a544-551805671a4en%40googlegroups.com.

its Win32nipuh

unread,
Mar 11, 2022, 4:27:12 AM3/11/22
to rabbitmq-users
Finally I need to use AWS RabbitMQ and it requires connection using amqps


четверг, 10 марта 2022 г. в 17:28:11 UTC+1, Wes Peng:
Reply all
Reply to author
Forward
0 new messages