documentation
documentation copied to clipboard
Mail Send via API failing with ssl exceptions (please fix the docs appropriately)
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
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.