processing-mqtt
processing-mqtt copied to clipboard
Any implementation to use wss over TLS?
How can I use a broker that uses wss://..
and has a cert
file associated with it with this library?
For using ws://..
and mqtt://..
, no problem.. :)
But to use tcp/tls
or wss
, I didn't see any implementation requiring ca.cert
file in the MQTTClient.java
.
Am I correct that this has not been implemented yet and if so, is there any future plan to accomodate secure connections?
TLS is supported and can be used with mqtts://
and wss://
. What you're requesting is connecting to a broker that is using a self-signed certificate. This has not been implemented yet. Unfortunately, I do not have time at the moment, but I'm happy to accept contributions.
TLS is supported and can be used with
mqtts://
andwss://
. What you're requesting is connecting to a broker that is using a self-signed certificate. This has not been implemented yet. Unfortunately, I do not have time at the moment, but I'm happy to accept contributions.
Awesome. I can give it a try. Is there the java project somewhere with the build instructions? Then I can edit the source files, compile, test etc in my environment .
A good starter to use SslUtil.java
following https://gist.github.com/saumilsdk/1e17e30e33d0a18f44ce4e2b5841b281 which uses BouncyCastle library
to handle pem
Hey! Any update on this feature?