activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From itsebriy <ihor.t...@gmail.com>
Subject Re: Cannot setup secure web sockets with activemq mqtt
Date Mon, 03 Jul 2017 09:16:33 GMT

I also took configuration from ActiveMQ 

http://activemq.apache.org/websockets.html

<sslContext>
    <sslContext keyStore="file:${activemq.conf}/broker.ks"
                keyStorePassword="password"
trustStore="file:${activemq.conf}/broker.ts"
                trustStorePassword="password"
    />
</sslContext>

 and it didn't seem to work for me. I had to specify broker.ks for both
keystore and truststore and only then it started working. 

Also self signed certificate is not an option since as I have observed the
certificate for web sockets and certificate for https has to be the same!
Otherwise there will be "Connection refused error".








--
View this message in context: http://activemq.2283324.n4.nabble.com/Cannot-setup-secure-web-sockets-with-activemq-mqtt-tp4727995p4728191.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message