Re: Cannot setup secure web sockets with activemq mqtt

2017-07-03 Thread itsebriy
I also took configuration from ActiveMQ http://activemq.apache.org/websockets.html 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 t

Re: Cannot setup secure web sockets with activemq mqtt

2017-06-29 Thread itsebriy
Problem solved, I enabled ssl debug for my server and saw that my tomcat was using ssl sertificate generated with SHA1 algorithm which is obsolete now. For activeMQ self signed sertificate was used with correct signing algorithm. I ended up re creating the certificate for Tomcat with the right alg

Re: Cannot setup secure web sockets with activemq mqtt

2017-06-29 Thread itsebriy
I am using a self-signed certificate which I created with keytool. Also when going to production, will self-signed certificate be sufficient? We could use a certificate from certificate authority but the domain for every customer will be different. -- View this message in context: http://acti

Cannot setup secure web sockets with activemq mqtt

2017-06-28 Thread itsebriy
Hi All, I am trying to make secure web sockets to work with activeMQ and have not been able to do that yet. My mqttContext.xml looks as following : I am using self signed cer