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

callout with certificate



I have a requirement to make SOAP callout with certificate. In fact a webservice that is hosted on client server and client provided us a certificate (.cert file) as well as a password keystore file (.jks file) to implement secure callout. But i couldn't figure out how to use these files in webservice callout.


Please help, it's urgent.


Any point would appreciated.


I think you need to import that certificate into browser to identify the caller of SOAP webserivce.


Hi Kumar,


Thanks for reply.


But i dont think the provided certificate is for browser beacuse callout might make from any other location( different browse on different system). I guess there should be somthing in apex code (set the some property with some info at the time of callout) or in salesforce configuration (like import certificate...). But i am not sure.




True but there are also sites upon browsing which hand you over a certificate which have to import into the browser. Not sure of details how it works internally... Did you check the full SOAP request structure at ?