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
DokerDoker 

Certs

Hi All,
So I have a web service class genereted from  partner api web service in c#.
I have also downloaded cert file from API tab in setup page on SF.

But when I create an object of PartnerApi in c# / vb and call Login,
after that, how do I check that the machine I have just connected is the real SalesForce?
So how do I validate the Salesforce against the certificate I have downloaded?
SuperfellSuperfell
The certificate is for requests initiated from salesforce to you. for when you are calling salesforce.com, you simply check that the host name ends with .salesforce.com and that the server cert is valid, (almost all SSL client stacks will validate the server cert for you)