Forum Discussion

abhishek02687's avatar
abhishek02687
Copper Contributor
Aug 18, 2022

OWA for on-prem server stopped working after updating certificate in on-prem exchange server

I asked question regarding issue with OWA please help:

https://answers.microsoft.com/en-us/outlook_com/forum/outlk_com-outtop_email/owa-stopped-working-after-updating-certificate-in/36dc9ce4-a610-449d-a6bb-3f843133bb43 

 

 

Hello,

 

I have recently updated the SSL certificate for Exchange server for the URL and after updating i got error for ECP portal:

 

I checked in event viewer and got this error:

 

[Owa] An internal server error occurred. The unhandled exception was: System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.Exchange.HttpProxy.FbaModule.ParseCadataCookies(HttpApplication httpApplication)
   at Microsoft.Exchange.HttpProxy.FbaModule.OnBeginRequestInternal(HttpApplication httpApplication)
   at Microsoft.Exchange.HttpProxy.ProxyModule.<>c__DisplayClass16_0.<OnBeginRequest>b__0()
   at Microsoft.Exchange.Common.IL.ILUtil.DoTryFilterCatch(Action tryDelegate, Func`2 filterDelegate, Action`1 catchDelegate)

 

Followed the steps as suggested:

https://docs.microsoft.com/en-us/exchange/troubleshoot/administration/cannot-access-owa-or-ecp-if-oauth-expired

but I can see the certificate is not expired:

 

Still I tried to follow the process further and generated a new certificate and when in tried set-authconfig got this error:

 

 

Please help 

5 Replies

    • Shabina's avatar
      Shabina
      Copper Contributor
      I have checked, I no more receive the certificate issues.
  • Hey there!
    Have you verified in IIS that the correct certificate is applied in the bindings?
    Also did you restart the server or at least ran an IIS reset after the cert change?

    Also verify that all the Exchange services are running using the Test-ServiceHealth command since I've experienced that some services that are required to display ECP and OWA stopped after cert changes.
    • Shabina's avatar
      Shabina
      Copper Contributor
      Hello,

      I have checked multiple times and I have no sulition to this issue still.
      The IIS Bindings are correct and the test Service health is also in good health.
  • Hey abhishek02687, please check the back end binding if the certificate is set to the server self signed cert.  If not please set it. Also did you import the new certificate to the server trusted root certificate store?