Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.
 

SSL exception with TestRail Java API

Hi there,

I was successfully integrated Testrail with Java API and worked for sometime. Yesterday on wards, it is giving following error while connecting to testrail. Any help on this?

javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative DNS name matching test.testrail.net found.
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1964)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:328)

When i used curl for same request, invocation looks fine. Thanks in advance

Regards,
Dilshani