function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Shahin__cShahin__c 

HTTPS webservice callout - PKIX path building failed

Hi guys,

I'm kinda new to SalesForce. I hope someone out there has the answer to this question....

 

I have written a .NET webservice on one of our servers. When I deploy the webservice on a HTTP socket I can call it from SF with no problems. However, when trying to call the same server this time deployed on a HTTPS I get the following error:

 

EXCEPTION_THROWN|[25]|System.CalloutException: IO Exception: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

 

I have checked and the certifacte is valid till next year. It is issued by COMODO - CA. 

 

Any helps appreciated.

 

Many thanks