Skip to content
Advertisement

Tag: paho

How to fix “javax.net.ssl.SSLHandshakeException: TLS Server certificate issued after 2019-04-16 and anchored by a distrusted legacy Symantec root CA”

I got the exception below while connecting to a MQTT Server with Java and self signed certificates. I used VeriSign-Class 3-Public-Primary-Certification-Authority-G5.pem as cacert.pem. The code is for an Linux server but currently I’m programming it on IntelliJ IDEA. The output is: I tried to connect to the server with MQTT.fx (Windows program) and it worked. Hope you can help me.

Advertisement