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
David HollandDavid Holland 

Apex calling secure HTTP endpoint - unable to find valid certification path to requested target

I have overwritten the Contact Overview page with a visualforce page. There are buttons next to the phone numbers which allow users to call people using a 'Click to Call' function (HTTP callout to an external site).

 

This was all working fine until this morning, where I have come in and discovered this error:

 

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

 

I wondered if there was any way in my HTTP callout in my Apex coding to just ignore certificates and do the callout without this check?

 

Any help would be greatly appreciated.