Mail Send via API failing with ssl exceptions (please fix the docs appropriately)
sandipsahoo2k2 opened this issue · 2 comments
sandipsahoo2k2 commented
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
AutomationSpecialistsHalifax commented
we have experienced the same: PKIX path building failed when calling https://api.mailgun.net/v3/ api
tredpath commented
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.