“The root of the certificate chain is not a trusted root authority” Reply

Scott ZischerkI recently ran into an issue where a web service that I had set up through SharePoint was throwing the error: “The root of the certificate chain is not a trusted root authority”  The web service ultimately sent out an email with an attachment that is retrieved from a SharePoint document library.  The error was occurring when I created a HttpWebRequest and called the GetResponse method.  Initially, I tried to reassign the ServicePointManager.ServerCertificateValidationCallback property to a method that just returns true, but that didn’t seem to work.

Eventually, I found this blog post: http://godwinsblog.cdtech.in/2010/12/sharepoint-2010-root-of-certificate.html that had me download all the certificates in the SSL certificate chain and add them into SharePoint.  After adding the root, intermediate and SSL certificate the web service started working properly.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s