0 Replies Latest reply on Aug 8, 2017 1:40 PM by mcachovadepaiva RSS
    mcachovadepaiva Newbie

    Connect Thingworx to an SSL MQTT Broker



    I am trying to connect an instance of thingworx that is on localhost to publish data to a mqtt broker also local with a X509 certificate to perform SSL.

    I have a device connected to my broker already using SSL, but I could not connect my instance of thingworx to the same broker.


    The connection will happen if I use port 1883 and no SSL, but not in port 8883 with SSL.

    I believe that I have the wrong certificate setup.I took the same certificates I am using on the device that is connected and created a TrustStore file for tomcat with keytool, then used the java options to specify where the truststore is as follows:

    -Djavax.net.ssl.trustStore=C:\Program Files\Apache Software Foundation\Tomcat 8.5\Truststore\ApacheTrustStore



    I changed the port in the MQTT extension on thingworx to 8883 and marked the useSSL checkbox.

    I'm having handshake failure messages from the logs in my broker.


    Would you know what my problem could be?


    Thank you,