I tested jmqtt client example connecting to cloudmqtt.com and everything was fine. Then I tried to use ssl by only changing the port number to the one cloudmqtt.com says is the ssl port and I got "(SocketException) java.net.SocketException: Connection reset".
What else should I change in the code to make an ssl connection?
What else should I change in the code to make an ssl connection?