New-OfficeWebAppsFarm : Office Online was unable to find the specified certificate

Posted by erwin on Wednesday, February 28, 2018

When configuring a new Office Online Server i run in to the following error while setting up the new farm with command:

    PS C:\Windows\system32> New-OfficeWebAppsFarm -InternalUrl "https://oos.contoso.com" -ExternalUrl "https://oos.contoso.com" -CertificateName "Skypeweb"
    New-OfficeWebAppsFarm : Office Online was unable to find the specified certificate.
    At line:1 char:1
    + New-OfficeWebAppsFarm -InternalUrl "https://oos.contoso.com" -Exter ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : ObjectNotFound: (:) [New-OfficeWebAppsFarm], ArgumentException
    + FullyQualifiedErrorId : CertificateNotFound,Microsoft.Office.Web.Apps.Administration.NewFarmCommand

I imported the certificate chain in the computer personal store, i noticed the intermediate and root certificate where also placed in the personal store.

I cut/paste the certificates to the right folder. **Intermediate **

Trusted Root Now the personal store looks like:

After running the command again, the webfarm is succesfully created.


comments powered by Disqus