Working with SharePoint 2010 Client Object Model on an SSL enabled site

When working SharePoint 2010 Client Object Model on an SSL enabled SharePoint 2010 site, we also need to pass in the certificate and validate it for the client object model calls to work. Below is a sample. 1: private void button1_Click(object sender, EventArgs e) 2: { 3: ClientContext context = new ClientContext("https://[sharepointserver]"); 4: ServicePointManager.ServerCertificateValidationCallback =…

4