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

Certificate Exception when connecting to salesforce



we have a webservice which connects to Sometimes, we get an exception of mismatching name in certificate.$
Caused by: Failed to send request to



Caused by: No name matching found


Does anyone have an idea?


Having the same issue. Anybody found a solution to this?


Thank you!

Santhosh KumarSanthosh Kumar

This may be because in sandboxes Salesforce uses self-signed certificates. These certificates cannot be validated using your local trusted certificates. So you either have to disable the certificate check or add the salesforce certificates to your trusted cert pool.