jookies / jasmin

Jasmin - Open source SMS gateway
http://jasminsms.com
Other
1.02k stars 549 forks source link

Support for TLS RabbitMQ #957

Open jonathannaguin opened 3 years ago

jonathannaguin commented 3 years ago

Hello,

Currently, Jasmin will fail to connect to a TLS Rabbit MQ endpoint. So far I can see on the code, connectTCP is used for the "amqp-broker-client" when we will need "connectSSL" depending on configuration.

Regards, Jonathan

github-actions[bot] commented 2 years ago

Stale issue detected, remove stale label or comment or this will be closed soon.

barryib commented 2 years ago

Any update on this ? We really need this. Some cloudprovider like AWS only support AMQPS for the RabbitMQ endpoint.

As a workaround for now, you can use stunnel to do AMQP over TLS.

github-actions[bot] commented 6 months ago

Stale issue detected, remove stale label or comment or this will be closed soon.

barryib commented 6 months ago

Remove stale.

achyut-geon commented 3 months ago

Hello, Is there any update regarding enabling TLS connectivity with rabbit. I tried configuring the amqp-broker as below with support for SSL. [amqp-broker] host = username = password = port = 5671 ssl_enabled = true ssl_ca_certs = /ca.crt ssl_certfile = /tls.crt ssl_keyfile = /tls.key

But the connectivity to rabbit fails with the error as "AMQP Authentication Failed.... Connection to the other side was lost in a non-clean fashion"