SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 45853: SAS® Web Parts for Microsoft SharePoint connection failures occur if the serviceURL does not match the certificate name

DetailsAboutRate It
When you are configuring SAS Web Parts for Microsoft SharePoint, using the machine long name causes errors to occur if the certificate name for the service was created using the machine short name.

When you test the Web parts via the diagnostics page, the error below appears if the machine name and certificate do not match exactly.

Could not establish trust relationship for the SSL/TLS secure channel with authority 'sharepoint04'. Details: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.

This issue generally occurs with self-signed certificates that were created with the Internet Information Services (IIS) 6.0 Resource Kit. By default, the IIS 6.0 Resource Kit creates the self-signed certificate using the short name. The machine name in the certificate and the serviceURL must match.

  1. To correct this issue, edit the web.config file serviceUrl entry to use the short name.
  2. Restart IIS Manager.

With IIS 7 Manager, the Create Self-Signed Certificate... tool uses the long machine name, which does not generate the problem.

Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Web Parts for Microsoft SharePointMicrosoft Windows Server 2008 for x644.34.39.2 TS2M39.2 TS2M3
Microsoft Windows Server 20084.34.39.2 TS2M39.2 TS2M3
Microsoft Windows Server 2003 for x644.34.39.2 TS2M39.2 TS2M3
Microsoft Windows Server 2003 Standard Edition4.34.39.2 TS2M39.2 TS2M3
Microsoft Windows Server 2003 Enterprise Edition4.34.39.2 TS2M39.2 TS2M3
Microsoft Windows Server 2003 Datacenter Edition4.34.39.2 TS2M39.2 TS2M3
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.