Tuesday, August 4, 2015

The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel


Using SAML Authentication in SharePoint 2013 and was trying to access a service application from SSL enabled Portal.
Exported the service application security certificate and imported into SharePoint Trusted Root Certificate authority


Following is the error message when trying to connect to service application from SharePoint.


The imported certificate is having some validation error. The problem was incorrect host name used in certificates.
We were accessing the URL using the IP and the certificate is using the server name as ip-AC1F08ED. Either we should have service application URL with fully qualified domain name or the certificate issue should point to the server IP.

Certificate details

Following error in event viewer.
Error in Event viewer

No comments:

Post a Comment