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
Philip Meldrum08237737677563425Philip Meldrum08237737677563425 

Validate SSL Certificate in APEX

We want to make an API Callout from one Salesforce org to an APEX web service on another Salesforce Org.
As an extra security layer on the server org, I would like to check that the client making the API call really is Salesforce.
(To prevent any non-salesforce server having access to the API)

The calling post must send the Salesforce Public Key, but is there anyway of inspecting it in APEX?

Does anyone know how/if this can be done?