Forum Discussion
Exchange Server error in '/owa' application
- Jul 14, 2021Ok i found solution. Use this to create new certificate https://docs.microsoft.com/en-us/exchange/troubleshoot/administration/cannot-access-owa-or-ecp-if-oauth-expired
And after creating the certificate you must wait like a hour or more for changes work. Restart dont change the wait time 🙂
Our cert is an externally signed cert that is due to expire next year so we wanted to keep using it and not have to generate a new self sign one.
We worked around this by just running the three PS commands below in Exchange PS
Set-AuthConfig -NewCertificateThumbprint <WE JUST USED OUR CURRENT CERT THUMPRINT HERE> -NewCertificateEffectiveDate (Get-Date)
Set-AuthConfig -PublishCertificate
Set-AuthConfig -ClearPreviousCertificate
Note: that we did have issues running the first command because our cert had been installed NOT allowing the export of the cert key. once we reinstalled the same cert back into the (local Computer) personal cert store but this time using the option to allow export of the cert key, the commands above worked fine.
We then just needed to restart ISS and everything was golden. 😄
- DrJeff02Aug 13, 2021Copper ContributorThank you! Worked like a charm
- Duke-LatonJul 19, 2021Copper Contributor
Excellent! I got my cert thumbprints using this PS cmd:
Get-ChildItem -Path Cert:LocalMachine\MY
and then ran the three PS cmds as outlined by Karl, then ran IISreset to bounce the IIS on the exchange server and SHAZAM! was able to immediately get back into the Exchange console like before.
Thanks for the help! - jacekwilczekJul 19, 2021Copper Contributor
- KarlT700Jul 15, 2021Copper Contributoroh and an easy way to find your thumbprints is to run the following PS command on the Exchange server. dir Cert:\LocalMachine\My