Skip to main content
1-Visitor
March 7, 2017
Question

how to establish MQTT secure connection with MQTT broker?

  • March 7, 2017
  • 4 replies
  • 2261 views

I m trying to establish the secure connection between mqtt Broker and Thingworx mqtt template(mqtt sub/pub).

For secure connection i have done following steps.

1. Configure MQTT broker with SSL configuration.

2. Click Enable in Thingsworx MQTT template for "useSSL"

But still i am  not able to create secure connection.

Am I missing any configuration for secure connection?

    4 replies

    5-Regular Member
    March 7, 2017

    Hi Ajay Agrawal​,

    I would suggest you to check following Blog for same: Securing MQTT connection to Thingworx platform

    1-Visitor
    March 8, 2017

    Hi Ankit gupta

    Thanks for reply.

    - we are able to establish the  secure connection on  command line MQTT broker and MQTT client.

    -My requirement is to securely connect the MQTT broker with the MQTT template on Thingworx(which will act as a MQTT sub/pub).

    1-Visitor
    March 8, 2017

    Hi pai Chung,

    Thanks for your reply.

    - Non secure connection we are able to establish,and that is working fine for me also.

    - When we are trying to connect the MQTT broker with the thingworx template(MQTT sub/pub), Mqtt connection getting refused.