Hi all,
I modified a running B4J MQTT client, substituting "ssl://<server IP:server port>" to original "tcp://<cloudmqtt_server port>" in order to test an SSL connection to a just setup VPS server of mine.
I get the following error.
Error connecting: (SunCertPathBuilderException) sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
I followed the "recipe" found here to setup my Mosquitto TLS installation and opened the appropriate port on the server.
It looks something easy to fix, but where have I to look? TIA
I modified a running B4J MQTT client, substituting "ssl://<server IP:server port>" to original "tcp://<cloudmqtt_server port>" in order to test an SSL connection to a just setup VPS server of mine.
I get the following error.
Error connecting: (SunCertPathBuilderException) sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
I followed the "recipe" found here to setup my Mosquitto TLS installation and opened the appropriate port on the server.
It looks something easy to fix, but where have I to look? TIA