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
...