Article ID: 125566, created on May 20, 2015, last review on May 21, 2015

Symptoms

The installation of the Office 365 Application End-point (Cloud Solution Provider Scenario) fails with the following error message:

Running on CLR version 4.0.30319.34209
Installing required Windows components...
Configuring SVC Handler Mapping...
Unable to find certificate by subject 'O365AEH.example.com'.
At C:\Users\Administrator\Downloads\MicrosoftOffice365-6.0-1061.app\O365-Web\setup.ps1:345 char:9
+             throw <<<<  "Unable to find certificate by subject '$MOSIClientCertSubject'."
+ CategoryInfo          : OperationStopped: (Unable to find ...5AEH.example.com'.:String) [],     RuntimeException
+ FullyQualifiedErrorId : Unable to find certificate by subject 'O365AEH.example.com'.

Resolution

  1. Go to the directory where the content of the extracted O365-Web.zip file is placed.
  2. Execute the command: makecert.exe -r -pe -n "CN=fake" -b 01/01/2014 -e 01/01/2024 -sr LocalMachine -ss My -a sha1 -sky exchange -eku 1.3.6.1.5.5.7.3.1 "fake.cer"
  3. Run the installation script again. Before running the script, set the value of the MOSIClientCertSubject parameter to fake.

Email subscription for changes to this article
Save as PDF