I have a website with a valid and trusted certificate that I'm connecting to. The root certificate authority GeoTrust Global CA is listed on Salesforce's list of outbound messaging CA's.

However, I'm still getting the certificate exception.

System.CalloutException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

enter image description here

1 Answer 1


Please get your server endpoint tested at this site. https://www.digicert.com/help/

This can help you to see whats wrong with your certificate chain etc.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.