Skip to main content
Maneesh Mittal a posé une question dans #Apex
I am getting a SSL cert exception in making an SSL callout through APEX (see error message below):

sun.security.validator.ValidatorException: PKIX path building failed:

sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

The remote endpoint is using a server cert issued by COMODO - RSA which is not listed in the trusted CA list mentioned by SFDC (here (http://docs.oracle.com/javase/6/docs/technotes/tools/windows/keytool.html⌗cacerts)). However, the root CA of this certificate - AddTrust is listed in the supported CA's. 

My question is does Salesforce traverse the certificate chain to look all the way to root CA to validate the cert? Or does the intermediate CA (in my case- COMODO - RSA) need to be on the supported CA list as well? Please help.

 
1 réponse
0/9000