Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
Hello PTC,
I'e tried all the ways which are described in the forum, but I haven't got anything, I can't connect the MQTT Broker
with SSL enable(and works) with ThingWorx server. I'm using a 90 days version, and I don't know if the security configuration in the MQTT extension ca be enabled.
Thanks very much,
Carlos
Solved! Go to Solution.
Hello @charlo
If you check the Point 3 "useSSL: Should ThingWorx use SSL when connecting to the MQTT broker?" in the article shared. It is mentioned to copy the cacerts file into jssecacerts and I can see the cacerts is present at this C:\Program Files\Java\jre1.8.0_281\lib\security location
Please copy the cacerts file into jssecacerts
and then Import the Self-Signed Certificate or the Custom Root Certificate into the jssecacerts truststore with the following command:
and then restart Apache Tomcat
Regards,
Toolika Dixit
Hello @charlo
Thank you for reaching out to PTC.
Could you please provide me below information in order to assist you further on this case
Regards,
Toolika Dixit
Hello @charlo
Could you please share the MQTT and ThingWorx logs to look into this issue
Regards,
Toolika Dixit
And my MQTT extenstion version is 2.1.0, I don't know if there are any problems with this version in SSL mode, but in https://www.ptc.com/en/support/article/CS325300
You described a similar case, where the SSL doesn't work.
Thanks a lot,
Carlos
Could you send you the MQTT extension version 2.1.2, because I can't download it from your webpage.
Thanks
Hello @charlo
If you check the Point 3 "useSSL: Should ThingWorx use SSL when connecting to the MQTT broker?" in the article shared. It is mentioned to copy the cacerts file into jssecacerts and I can see the cacerts is present at this C:\Program Files\Java\jre1.8.0_281\lib\security location
Please copy the cacerts file into jssecacerts
and then Import the Self-Signed Certificate or the Custom Root Certificate into the jssecacerts truststore with the following command:
and then restart Apache Tomcat
Regards,
Toolika Dixit
Hi @charlo.
If you have resolved your issue with the help of one of the previous responses, please mark the appropriate one as the Accepted Solution for the benefit of others with the same problem.
Regards.
--Sharon