Getting Started with eMessage Connector and eMessage Agents > Running the Smoke Test > Troubleshooting the Smoke Test > Smoke Test Exception 7: File download failure due to incorrect download URL (hostname doesn't match SSL certificate CN)
Smoke Test Exception 7: File download failure due to incorrect download URL (hostname doesn't match SSL certificate CN)
This exception may occur after running Smoke Test 9, which attempts to download a file. In addition, refer to Troubleshooting the Smoke Test — Smoke Test 9 — Download a File.
Here are some lines from the exception message:
...
Queue a file download via the Copy service and validate that a
file is downloaded result=FAILURE
... Error downloading file to destination=<DESTINATION>/
...
SmokeTest_FileDownload/testfile.txt
...
Caused by: com.Thingworx.smoketest.ValidationException: HTTP GET failed to URL=
...
Caused by: javax.net.ssl.SSLHandshakeException: java.security.
cert.CertificateException:
No subject alternative DNS name matching mycomputer found.
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
...
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949)
...
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302)
...
Caused by: java.security.cert.CertificateException:
No subject alternative DNS name matching mycomputer found.
...
Was this helpful?