+ Start a Discussion


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?
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)