We have a Web Applications Companion (WAC) server connected to our SharePoint 2013 web application (upgraded to claims based authentication). It appears to us that the WAC server does not trust the SSL certificate on the SharePoint web application. All certificates in question are generated by our domain Certificate Authority (CA).
The error recieved on SharePoint is as follows:
Microsoft Word Web App
Sorry, there was a problem and we can't open this document. If this happens again, try opening the document in Microsoft Word.
The errors received on the WAC server are as follows:
HttpRequestAsync WOPICheckFile WACSERVER no response [WebExceptionStatus:TrustFailure, url:https://... WOPICheckFile WACSERVER HttpRequestAsyncException url:https://... Microsoft.Office.Web.Apps.Common.HttpRequestAsyncException: No Response in WebException ---> 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 WOPI CheckFile: Catch-All Failure [exception:Microsoft.Office.Web.Common.EnvironmentAdapters.UnexpectedErrorException: HttpRequest failed ---> Microsoft.Office.Web.Apps.Common.HttpRequestAsyncException: No Response in WebException ---> 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. FileUnknownException while loading the app.
Everything was setup while strictly adhering to the following:
http://technet.microsoft.com/en-us/library/jj219455.aspx
http://technet.microsoft.com/en-us/library/ff431687.aspx
The commands ran on the WAC Server:
New-OfficeWebAppsFarm -InternalUrl "https://wacserver" -ExternalUrl "https://wacserver.domain-dev.com" –CertificateName "wacserver.domain-dev.com" -EditingEnabled -Verbose -ClipartEnabled -TranslationEnable
The commands ran on the SharePoint 2013 server:
New-SPWOPIBinding -ServerName wacserver.domain-dev.com
Get-SPWOPIZone
Set-SPWOPIZone –zone "external-https"
The certificate on the SharePoint web application is named intranet-dev.domain-dev.com
The certificate on the WAC server is named wacserver.domain-dev.com
If necessary I can post the full URL log entry surrounding this error.