Running the Smoke Test > Troubleshooting the Smoke Test > Smoke Test Exception 2: SSL Handshake error when sending messages due to missing intermediate/root certificates
Smoke Test Exception 2: SSL Handshake error when sending messages due to missing intermediate/root certificates
Here are a few lines from the SSL Handshake error that appears when intermediate/root certificates are missing:
[main] INFO c.t.s.p.emessage.AzureIoTSmokeTest - Starting test 5/9:
Validate sending a registration message to the Azure IoT Hub Connector
[main] ERROR c.t.s.p.emessage.AzureIoTSmokeTest -
Finished test 5/9: Validate sending a registration message to the
Azure IoT Hub Connector result=FAILURE
...
Caused by: com.Thingworx.smoketest.ValidationException:
HTTP POST failed to URL=https://mycomputer.mycompany.com:8081/azure-iot
....
Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.
ValidatorException:
PKIX path building failed: ...: unable to find valid certification
path to requested target
...
In addition, refer to the smoke test, Smoke Test Step 5. Send Updated Property Values to ThingWorx: Validate sending property write messages to the Azure IoT Hub Connector.
Troubleshooting the Smoke Test. This topic has separate troubleshooting sections for each part of the smoke test.