Closed pantonis closed 6 years ago
I carried out the following steps:
loopback_users.guest = false
listeners.tcp.default = 5672
hipe_compile = false
web_stomp.ssl.port = 15671 web_stomp.ssl.backlog = 1024 web_stomp.ssl.certfile = /etc/certs/server/server_certificate.pem web_stomp.ssl.keyfile = /etc/certs/server/server_key.pem web_stomp.ssl.cacertfile = /etc/certs/testca/ca_certificate.pem
- Changed the URL in application to wss://localhost:15671/ws
- First I got error (because of the self signed certificate)
- Browsed to https://localhost:15671/ws using browser address bar and accepted the certificate permanently.
- Now the demo works correctly.
Questions:
- have you configure Webstomp over SSL (as per TLS/SSL topic in https://www.rabbitmq.com/web-stomp.html)?
- Are you trying to connect to correct port (5671 is typically port assigned to AMQP over TLS/SSL)?
@kum-deepak The problem was the port. I changed it to 15671 and it worked.
Thanks
I am using RabbitMQ webstomp. Have successfully conigured the broker to use TLS/SSL. When I try to connect though to it using the ng2-stompjs I get