You need to sign in to do that
Don't have an account?

Certificate issue:
From SalesForce ,we have to make some REST callouts to a different server(say SERVER A).But while making the callouts,we are facing an exception of
System.CalloutException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target.
Now,Server A is certified by a CA (self-signed certificate) which does not fall under the list of CAs supported be Salesforce.We cannot ask the server owners to upgrade their CA.Is there any possible work around for overcoming this sort of exception?
You can try Http call instead of Https call, but you have to do the encryption & decryption in your code to protect the data if you are considering the security issues.