Saturday, January 10, 2015

Using SharePoint web services with SSL ; Adding SSL Certificate to SharePoint Site ; Error : The remote certificate is invalid according to the validation procedure.

Task : Uploading file using SharePoint web services ( Authentication.asmx , Copy.asmx , Lists.asmx ).
Conditions :

  1. Using webserivces from http://www.xyz.com to https://www.abc.com .
  2. Using Webpart ( c# Code )
  3. Caller and Consumer both are SharePoint portals.
Errors:
The remote certificate is invalid according to the validation procedure.
An operation failed because the following certificate has validation errors:\n\nSubject Name: CN=*.abc.xyz.ae
Solution :

Step 1 # open https portal and download (Export) ssl certificate.
Step 2 # Go to sharepoint central admin > Secuirty > Manage Trust
  • Add new certificate
Step 3 # Reset IIS on All web front ends.

Help Links :

http://blogs.msdn.com/b/jpsanders/archive/2009/09/16/troubleshooting-asp-net-the-remote-certificate-is-invalid-according-to-the-validation-procedure.aspx

No comments:

Post a Comment