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
djfubardjfubar 

Apex Callout - Ignore Certificate Verification

Hi,

 

I am attempting to call an external web service from Salesforce.

 

The issue I am having is that the web service server does not have a valid certificate so am getting the following exception:-

 

java.security.cert.CertificateException: No subject alternative names present

 

I know in java/.net there is a classes which allow you to ignore certificate verification. Is there anything that we can do similar in Salesforce?

 

Thanks