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
- Best practice is to not modify cacerts directly
- The JVM will choose jssecacerts over cacerts on startup
and then Import the Self-Signed Certificate or the Custom Root Certificate into the jssecacerts truststore with the following command:
- keytool -import -alias <Descriptive Alias> -file <Path To Certificate File> -keystore jssecacerts
- Where
- <Descriptive Alias>: Any identifier that will help identify the entry. Typically set to the FQDN of the host that signed the certificate.
- <Path To Certificate File>: Full path to the certificate file
and then restart Apache Tomcat
Regards,
Toolika Dixit