Office Online - Could not establish trust relationship for the SSL/TLS secure channel with authority

Symptoms

Office Online Server fails to open Office documents and leaves this error in the Office Web Apps event logs:

 

System.ServiceModel.Security.SecurityNegotiationException: Could not establish trust relationship for the SSL/TLS secure channel with authority '<servername>:809'. ---> System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.

 



 





Cause


IIS sites have the unsupported HSTS configuration:

  • HSTS ==> “Redirect Http to Https

It needs to be enabled for the IIS security, but it breaks the Office Online functionality.

Resolution


Uncheck (disable) the “Redirect Http to Https” checkbox for both HTTP80 and HTTP809 sites:











The “Enable” and “IncludeSubDomains” options do not cause the outage. Therefore, they can be left enabled.  No need to restart any of the services.

 

Popular posts from this blog

October 2025 SharePoint CU Failed to Install After Applying September 2025 SharePoint CU

September 2025 SharePoint 2016 CU - Configuration Wizard failed

Broken Site Collection