documentation icon indicating copy to clipboard operation
documentation copied to clipboard

Mail Send via API failing with ssl exceptions (please fix the docs appropriately)

Open sandipsahoo2k2 opened this issue 6 years ago • 2 comments

com.mashape.unirest.http.exceptions.UnirestException: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

sandipsahoo2k2 avatar Feb 23 '19 22:02 sandipsahoo2k2

we have experienced the same: PKIX path building failed when calling https://api.mailgun.net/v3/ api

Looks like Java may have removed the DigiCert Global Root G2 certificate from cacerts. It was present in Java 11.0.3 but is missing in 11.0.6. Adding the certificate from Digicert using the instructions for older versions of Java from here appears to get it working.

tredpath avatar Feb 15 '20 16:02 tredpath