SOLVED

Exchange Server error in '/owa' application

%3CLINGO-SUB%20id%3D%22lingo-sub-2546400%22%20slang%3D%22en-US%22%3EExchange%20Server%20error%20in%20'%2Fowa'%20application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2546400%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%221.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F295686iA98E2319F929222F%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%221.png%22%20alt%3D%221.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EASSERT%3A%20HMACProvider.GetCertificates%3AprotectionCertificates.Length%26lt%3B1%3CBR%20%2F%3EDescription%3A%20An%20unhandled%20exception%20occurred%20during%20the%20execution%20of%20the%20current%20web%20request.%20Please%20review%20the%20stack%20trace%20for%20more%20information%20about%20the%20error%20and%20where%20it%20originated%20in%20the%20code.%3C%2FP%3E%3CP%3EException%20Details%3A%20Microsoft.Exchange.Diagnostics.ExAssertException%3A%20ASSERT%3A%20HMACProvider.GetCertificates%3AprotectionCertificates.Length%26lt%3B1%3C%2FP%3E%3CP%3ESource%20Error%3A%3C%2FP%3E%3CP%3EAn%20unhandled%20exception%20was%20generated%20during%20the%20execution%20of%20the%20current%20web%20request.%20Information%20regarding%20the%20origin%20and%20location%20of%20the%20exception%20can%20be%20identified%20using%20the%20exception%20stack%20trace%20below.%3C%2FP%3E%3CP%3EStack%20Trace%3A%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%5BExAssertException%3A%20ASSERT%3A%20HMACProvider.GetCertificates%3AprotectionCertificates.Length%26lt%3B1%5D%3CBR%20%2F%3EMicrosoft.Exchange.Diagnostics.ExAssert.AssertInternal(String%20formatString%2C%20Object%5B%5D%20parameters)%20%2B241%3CBR%20%2F%3EMicrosoft.Exchange.Clients.Common.HmacProvider.GetCertificates()%20%2B478%3CBR%20%2F%3EMicrosoft.Exchange.Clients.Common.HmacProvider.GetHmacProvider()%20%2B143%3CBR%20%2F%3EMicrosoft.Exchange.Clients.Common.HmacProvider.ComputeHmac(Byte%5B%5D%5B%5D%20messageArrays)%20%2B16%3CBR%20%2F%3EMicrosoft.Exchange.HttpProxy.FbaModule.SetCadataCookies(HttpApplication%20httpApplication)%20%2B826%3CBR%20%2F%3EMicrosoft.Exchange.HttpProxy.FbaFormPostProxyRequestHandler.HandleFbaFormPost(BackEndServer%20backEndServer)%20%2B2776%3CBR%20%2F%3EMicrosoft.Exchange.HttpProxy.FbaFormPostProxyRequestHandler.ShouldContinueProxy()%20%2B20%3CBR%20%2F%3EMicrosoft.Exchange.HttpProxy.ProxyRequestHandler.BeginProxyRequestOrRecalculate()%20%2B229%3CBR%20%2F%3EMicrosoft.Exchange.HttpProxy.ProxyRequestHandler.InternalOnCalculateTargetBackEndCompleted(TargetCalculationCallbackBeacon%20beacon)%20%2B1379%3CBR%20%2F%3EMicrosoft.Exchange.HttpProxy.%26lt%3B%26gt%3Bc__DisplayClass3f.%3CONCALCULATETARGETBACKENDCOMPLETED%3Eb__3e()%20%2B311%3CBR%20%2F%3EMicrosoft.Exchange.Common.IL.ILUtil.DoTryFilterCatch(TryDelegate%20tryDelegate%2C%20FilterDelegate%20filterDelegate%2C%20CatchDelegate%20catchDelegate)%20%2B35%3CBR%20%2F%3EMicrosoft.Exchange.HttpProxy.Diagnostics.SendWatsonReportOnUnhandledException(MethodDelegate%20methodDelegate%2C%20LastChanceExceptionHandler%20exceptionHandler)%20%2B121%3CBR%20%2F%3EMicrosoft.Exchange.HttpProxy.ProxyRequestHandler.CallThreadEntranceMethod(MethodDelegate%20method)%20%2B69%3C%2FONCALCULATETARGETBACKENDCOMPLETED%3E%3C%2FP%3E%3CP%3E%5BAggregateException%3A%20One%20or%20more%20errors%20occurred.%5D%3CBR%20%2F%3EMicrosoft.Exchange.HttpProxy.ProxyRequestHandler.EndProcessRequest(IAsyncResult%20result)%20%2B416%3CBR%20%2F%3ESystem.Web.CallHandlerExecutionStep.InvokeEndHandler(IAsyncResult%20ar)%20%2B231%3CBR%20%2F%3ESystem.Web.CallHandlerExecutionStep.OnAsyncHandlerCompletion(IAsyncResult%20ar)%20%2B172%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2546400%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExchange%20Server%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2546997%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Server%20error%20in%20'%2Fowa'%20application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2546997%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1103176%22%20target%3D%22_blank%22%3E%40Nikolas_Athanasakis%3C%2FA%3E%26nbsp%3B%20Hi%20i%20have%20the%20same%20problem%20it%20started%20today%20at%202%20am%20on%20our%20server.%20We%20can't%20log%20in%20to%20owa%20and%20ecp.%20I%20tried%20to%20create%20new%20auth-Config%20certificate%20becouse%20i%20couldn't%20display%20the%20thumprint%20but%20it%20didin't%20work%20too.%20im%20thinking%20about%20cu%2010%20bot%20not%20sure%20if%20this%20will%20fix%20problem.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2547704%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Server%20error%20in%20'%2Fowa'%20application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2547704%22%20slang%3D%22en-US%22%3EOk%20i%20found%20solution.%20Use%20this%20to%20create%20new%20certificate%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Ftroubleshoot%2Fadministration%2Fcannot-access-owa-or-ecp-if-oauth-expired%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Ftroubleshoot%2Fadministration%2Fcannot-access-owa-or-ecp-if-oauth-expired%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EAnd%20after%20creating%20the%20certificate%20you%20must%20wait%20like%20a%20hour%20or%20more%20for%20changes%20work.%20Restart%20dont%20change%20the%20wait%20time%20%3A)%3C%2Fimg%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2548000%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Server%20error%20in%20'%2Fowa'%20application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2548000%22%20slang%3D%22en-US%22%3EWe%20are%20having%20the%20same%20issue.%20However%20my%20current%20OAuth%20cert%20doesn't%20expire%20until%204%2F22.%20Any%20reason%20to%20replace%20it%20anyway%3F%20Also%2C%20I%20applied%20KB5004779%20yesterday.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2548188%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Server%20error%20in%20'%2Fowa'%20application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2548188%22%20slang%3D%22en-US%22%3ESame%20issue%20here%2C%20not%20sure%20if%20I%20should%20replace%20a%20valid%20cert%20or%20just%20wait%20for%20a%20different%20fix.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2548737%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Server%20error%20in%20'%2Fowa'%20application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2548737%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1103318%22%20target%3D%22_blank%22%3E%40Asterofus%3C%2FA%3E%26nbsp%3BThe%20link%20you%20provided%20said%20to%20restart%20a%20couple%20app%20pools.%26nbsp%3B%20As%20soon%20as%20I%20did%20that%20it%20took%20effect%20immediately.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20for%20the%20answer!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2549135%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Server%20error%20in%20'%2Fowa'%20application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2549135%22%20slang%3D%22en-US%22%3EI%20encountered%20the%20same%20issue%2C%20uninstalled%20the%20update%20and%20it%20worked.%20I'm%20going%20to%20wait%20to%20see%20is%20there%20is%20a%20new%20update%20that%20doesn't%20break%20anything.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2549195%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Server%20error%20in%20'%2Fowa'%20application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2549195%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1103318%22%20target%3D%22_blank%22%3E%40Asterofus%3C%2FA%3E%26nbsp%3BThank%20you%20for%20this%20tip%20it%20worked.%20One%20note%20for%20others.%20I%20created%20a%20new%20certificate%20and%20waited%20for%20almost%20two%20hours%2C%20but%20OWA%20and%20ECP%20were%20still%20not%20working.%20Then%20I%20tried%20to%20log%20into%20OWA%20from%20phone.%20It%20took%20a%20while%20but%20it%20loaded%20and%20stared%20working%20normaly.%20%3A)%3C%2Fimg%3E%20Phone%20method%20tested%20on%20two%20different%20servers%20with%20the%20same%20result.%20Hope%20it%20helps%20%3A)%3C%2Fimg%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2549417%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Server%20error%20in%20'%2Fowa'%20application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2549417%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%20very%20much...%20Working%20Working!!!%20Respect!!!%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1103318%22%20target%3D%22_blank%22%3E%40Asterofus%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2550075%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Server%20error%20in%20'%2Fowa'%20application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2550075%22%20slang%3D%22en-US%22%3EFYI%2C%20Update%3A%3CBR%20%2F%3ESince%20our%20cert%20wasn't%20expired%20I%20tried%20and%20installed%20CU10%20and%20that%20solved%20it%20for%20me.%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2550142%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Server%20error%20in%20'%2Fowa'%20application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2550142%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1103318%22%20target%3D%22_blank%22%3E%40Asterofus%3C%2FA%3E%26nbsp%3BThanks%20for%20the%20link.%26nbsp%3B%20That%20did%20the%20trick%20for%20me.%26nbsp%3B%20I%20was%20not%20about%20to%20uninstall%20the%20security%20update.%26nbsp%3B%20I%20just%20reinstalled%20exchange%20in%20March%20after%20we%20got%20hit%20by%20HAFNIUM%202%20weeks%20before%20the%20patch%20came%20out.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20did%20not%20have%20to%20wait%20an%20hour%2C%20I%20restarted%20the%20Exchange%20Service%20Host%20and%20did%20an%20IISREST%20and%20ECP%20and%20OWA%20worked%20right%20away.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2550446%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Server%20error%20in%20'%2Fowa'%20application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2550446%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1103176%22%20target%3D%22_blank%22%3E%40Nikolas_Athanasakis%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOur%20cert%20is%20an%20externally%20signed%20cert%20that%20is%20due%20to%20expire%20next%20year%20so%20we%20wanted%20to%20keep%20using%20it%20and%20not%20have%20to%20generate%20a%20new%20self%20sign%20one.%3C%2FP%3E%3CP%3EWe%20worked%20around%20this%20by%20just%20running%20the%20three%20PS%20commands%20below%20in%20Exchange%20PS%3C%2FP%3E%3CP%3ESet-AuthConfig%20-NewCertificateThumbprint%20%3CWE%20just%3D%22%22%20used%3D%22%22%20our%3D%22%22%20current%3D%22%22%20cert%3D%22%22%20thumprint%3D%22%22%20here%3D%22%22%3E%20-NewCertificateEffectiveDate%20(Get-Date)%3CBR%20%2F%3ESet-AuthConfig%20-PublishCertificate%3CBR%20%2F%3ESet-AuthConfig%20-ClearPreviousCertificate%3C%2FWE%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENote%3A%20that%20we%20did%20have%20issues%20running%20the%20first%20command%20because%20our%20cert%20had%20been%20installed%20NOT%20allowing%20the%20export%20of%20the%20cert%20key.%20once%20we%20reinstalled%20the%20same%20cert%20back%20into%20the%20(local%20Computer)%20personal%20cert%20store%20but%20this%20time%20using%20the%20option%20to%20allow%20export%20of%20the%20cert%20key%2C%20the%20commands%20above%20worked%20fine.%3C%2FP%3E%3CP%3EWe%20then%20just%20needed%20to%20restart%20ISS%20and%20everything%20was%20golden.%20%3AD%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2550481%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Server%20error%20in%20'%2Fowa'%20application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2550481%22%20slang%3D%22en-US%22%3Eoh%20and%20an%20easy%20way%20to%20find%20your%20thumbprints%20is%20to%20run%20the%20following%20PS%20command%20on%20the%20Exchange%20server.%20dir%20Cert%3A%5CLocalMachine%5CMy%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2550488%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Server%20error%20in%20'%2Fowa'%20application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2550488%22%20slang%3D%22en-US%22%3ESee%20my%20reply%20below%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2551732%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Server%20error%20in%20'%2Fowa'%20application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2551732%22%20slang%3D%22en-US%22%3EI%20did%20all%20above%20with%20out%20any%20luck.%3CBR%20%2F%3Ethen%20running%20the%20kb5004780%20(Exchange%202019)%20i%20an%20elevated%20cmd%2C%20then%20OWA%20and%20ECP%20worked%20again.%3CBR%20%2F%3E(ran%20kb5004780%20first%20as%20a%20normal%20user%2C%20not%20elevated%20cmd)%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2551767%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Server%20error%20in%20'%2Fowa'%20application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2551767%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%20very%20much%20for%20the%20link!%20This%20fixed%20my%20issue%20as%20well.%20We%20were%20running%20Exchange%202013%20CU23%20(no%20SU%20installed)%20and%20I%20installed%20Jul21SU.%20I%20received%20no%20errors%20during%20the%20install%20and%20our%20Outlook%20clients%20could%20still%20connect%20after%20the%20upgrade%2C%20but%20I%20could%20no%20longer%20access%20OWA%20or%20EAC.%20Our%20cert%20was%20not%20expired%20either.%26nbsp%3B%20I%20followed%20the%20commands%20in%20the%20article%20and%20then%20ran%20IISRESET%20and%20both%20worked%20again!%20Thank%20you%20again!!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Ftroubleshoot%2Fadministration%2Fcannot-access-owa-or-ecp-if-oauth-expired%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Ftroubleshoot%2Fadministration%2Fcannot-access-owa-or-ecp-if-oauth-expired%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2551792%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Server%20error%20in%20'%2Fowa'%20application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2551792%22%20slang%3D%22en-US%22%3EI%20believe%20this%20issue%20about%20evelated%20rights%20is%20documented%20in%20the%20link%20below.%20Unfortunately%2C%20this%20was%20not%20our%20issue.%20We%20were%20experiencing%20the%20issue%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1103318%22%20target%3D%22_blank%22%3E%40Asterofus%3C%2FA%3E%20provided%20the%20solution%20for.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Ftroubleshoot%2Fclient-connectivity%2Fowa-stops-working-after-update%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Ftroubleshoot%2Fclient-connectivity%2Fowa-stops-working-after-update%3C%2FA%3E.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2551852%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Server%20error%20in%20'%2Fowa'%20application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2551852%22%20slang%3D%22en-US%22%3EI%20got%20wiser%20after%20I%20saw%20the%20article.%20the%20installer%20.msp%20should%20just%20tell%20that%20it%20should%20be%20run%20as%20elevated%20and%20not%20as%20a%20normal%20user%2C%20it%20would%20have%20solved%20a%20lot%20%3A)%3C%2Fimg%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2551855%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Server%20error%20in%20'%2Fowa'%20application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2551855%22%20slang%3D%22en-US%22%3EI%20went%20ahead%20and%20updated%20the%20cert%20even%20though%20mine%20wasn't%20expired.%20After%20the%20other%20steps%20it%20started%20to%20work%20right%20away.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2551944%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Server%20error%20in%20'%2Fowa'%20application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2551944%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20all%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20installed%20Exchange%202013%20CU23%20on%20our%20standalone%20server%20and%20got%20the%20same%20issue%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%3EException%20type%3A%20ExAssertException%0AException%20message%3A%20ASSERT%3A%20HMACProvider.GetCertificates%3AprotectionCertificates.Length%26lt%3B1%3C%2FPRE%3E%3CP%3EThe%20Exchange%20Auth%20certificate%20wasn't%20expired%20though.%20Anyway%20I%20tried%20generating%20a%20new%20certificate%20and%20publish%20it.%20It%20didn't%20resolve%20the%20issues.%20Even%20after%202%20hours%20of%20waiting.%3C%2FP%3E%3CP%3EAfter%20all%20(before%20trying%20the%20last%20resort%20option%20to%20uninstall%20CU23)%20I%20tried%20using%20the%20old%20valid%20certificate%20and%20published%20it%20using%20the%20same%20procedure%20as%20described%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Ftroubleshoot%2Fadministration%2Fcannot-access-owa-or-ecp-if-oauth-expired%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FP%3E%3CP%3EAfter%20that%20OWA%20and%20ECP%20returned%20back%20to%20life.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWith%20the%20best%20regards%2C%3C%2FP%3E%3CP%3EMarat%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2552739%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Server%20error%20in%20'%2Fowa'%20application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2552739%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1103917%22%20target%3D%22_blank%22%3E%40KarlT700%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETHANK%20YOU%20Karl!!!%20That%20worked%20perfectly%20for%20me!%26nbsp%3B%20You're%20the%20real%20MVP%20for%20us!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2552814%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Server%20error%20in%20'%2Fowa'%20application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2552814%22%20slang%3D%22en-US%22%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1103318%22%20target%3D%22_blank%22%3E%40Asterofus%3C%2FA%3E%2C%20You%20rock!%20This%20solution%20fixed%20our%20problem.%20It%20seems%20the%20Exchange%202019%20CU%2010%20Security%20Update%201%20(KB5004780)%20did%20something%20to%20make%20the%20OAUTH%20Certificate%20invalid.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2553171%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Server%20error%20in%20'%2Fowa'%20application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2553171%22%20slang%3D%22en-US%22%3E%3CDIV%20class%3D%22user-login%22%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1103318%22%20target%3D%22_blank%22%3EAsterofus%20solution%20worked%20for%20me%20as%20well.%3C%2FA%3E%3C%2FDIV%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2561176%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Server%20error%20in%20'%2Fowa'%20application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2561176%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1103917%22%20target%3D%22_blank%22%3E%40KarlT700%3C%2FA%3E%26nbsp%3B%20thank%20you%20for%20the%20solution%20-%20it%20helped%20me%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E--%3C%2FP%3E%3CP%3EJacek%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2563202%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Server%20error%20in%20'%2Fowa'%20application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2563202%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1103917%22%20target%3D%22_blank%22%3E%40KarlT700%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EExcellent!%20I%20got%20my%20cert%20thumbprints%20using%20this%20PS%20cmd%3A%3CBR%20%2F%3EGet-ChildItem%20-Path%20Cert%3ALocalMachine%5CMY%3CBR%20%2F%3Eand%20then%20ran%20the%20three%20PS%20cmds%20as%20outlined%20by%20Karl%2C%20then%20ran%20IISreset%20to%20bounce%20the%20IIS%20on%20the%20exchange%20server%20and%20SHAZAM!%20was%20able%20to%20immediately%20get%20back%20into%20the%20Exchange%20console%20like%20before.%3CBR%20%2F%3EThanks%20for%20the%20help!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2595368%22%20slang%3D%22es-ES%22%3ERe%3A%20Exchange%20Server%20error%20in%20'%2Fowa'%20application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2595368%22%20slang%3D%22es-ES%22%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1103691%22%20target%3D%22_blank%22%3E%40db123123%3C%2FA%3E.%20Is%20the%20KB5004779%20%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2595426%22%20slang%3D%22es-ES%22%3ERe%3A%20Exchange%20Server%20error%20in%20'%2Fowa'%20application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2595426%22%20slang%3D%22es-ES%22%3EAlthough%20my%20certificate%20expires%20in%202022%2C%20this%20procedure%20solved%20my%20problem.%20%3CBR%20%2F%3E%20Thanks%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2646286%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Server%20error%20in%20'%2Fowa'%20application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2646286%22%20slang%3D%22en-US%22%3EThank%20you!%20Worked%20like%20a%20charm%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2652816%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Server%20error%20in%20'%2Fowa'%20application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2652816%22%20slang%3D%22en-US%22%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1103318%22%20target%3D%22_blank%22%3E%40Asterofus%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EI%20didn't%20go%20through%20and%20gen%20a%20new%20cert%20as%20advised%20as%20this%20cert%20was%20still%20valid%20for%204%20years%2C%20however%20at%20the%20steps%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%22Set-AuthConfig%20-NewCertificateThumbprint%20%3CTHUMBPRINTFROMSTEP1%3E%20-NewCertificateEffectiveDate%20(Get-Date)%3CBR%20%2F%3ESet-AuthConfig%20-PublishCertificate%3CBR%20%2F%3ESet-AuthConfig%20-ClearPreviousCertificate%22%3CBR%20%2F%3E%3CBR%20%2F%3EI%20replaced%20%3CTHUMBPRINTFROMSTEP1%3E%20with%20the%20thumbprint%20of%20my%20original%20certificate%2C%20followed%20the%20rest%20of%20the%20guide%20and%20recycled%20the%20pools%20instead%20of%20the%20IISRESET%2C%20worked%20immediately.%3C%2FTHUMBPRINTFROMSTEP1%3E%3C%2FTHUMBPRINTFROMSTEP1%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2679294%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Server%20error%20in%20'%2Fowa'%20application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2679294%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20process%20looks%20pretty%20straightforward%20but%20I%20am%20nervous%20about%20impacting%20mail%20flow%20during%20this%20time.%3C%2FP%3E%3CP%3EWill%20creating%20this%20new%20cert%20impact%20mail%20flow%20at%20all%3F%26nbsp%3B%20%26nbsp%3BWe%20have%20on-premises%20Exchange%20server%20but%20all%20mailboxes%20live%20in%20Office%20365.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2679313%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Server%20error%20in%20'%2Fowa'%20application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2679313%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1111075%22%20target%3D%22_blank%22%3E%40Joshua_Thompson%3C%2FA%3E%26nbsp%3B%20creating%20a%20new%20certificate%20is%20not%20necessary%2C%20but%20rather%20re-registering%20old%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E--%3CBR%20%2F%3EJacek%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2679330%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Server%20error%20in%20'%2Fowa'%20application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2679330%22%20slang%3D%22en-US%22%3Eis%20this%20cert%20used%20in%20mail%20flow%20at%20all%3F%3CBR%20%2F%3EMy%20current%20Get-AuthConfig%20cert%20is%20expired%20and%20I%20need%20to%20create%20a%20new%20one%20anyway.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2683887%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Server%20error%20in%20'%2Fowa'%20application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2683887%22%20slang%3D%22en-US%22%3Ethanks%20god.%3CBR%20%2F%3EWorked%20for%20me%20too%20and%20take%202%20hours%20and%20half.%3CBR%20%2F%3Ei%20have%20no%20more%20hairs%20%5E%5E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2684627%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Server%20error%20in%20'%2Fowa'%20application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2684627%22%20slang%3D%22en-US%22%3EI%20do%20not%20currently%20have%20a%20OAuth%20cert%20for%20some%20reason%20so%20I%20was%20going%20to%20create%20a%20new%20one%20following%20this%20guidelines%20but%20I%20am%20nervous%20about%20impacting%20mail%20flow.%3C%2FLINGO-BODY%3E
New Contributor

1.png

 

ASSERT: HMACProvider.GetCertificates:protectionCertificates.Length<1
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: Microsoft.Exchange.Diagnostics.ExAssertException: ASSERT: HMACProvider.GetCertificates:protectionCertificates.Length<1

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[ExAssertException: ASSERT: HMACProvider.GetCertificates:protectionCertificates.Length<1]
Microsoft.Exchange.Diagnostics.ExAssert.AssertInternal(String formatString, Object[] parameters) +241
Microsoft.Exchange.Clients.Common.HmacProvider.GetCertificates() +478
Microsoft.Exchange.Clients.Common.HmacProvider.GetHmacProvider() +143
Microsoft.Exchange.Clients.Common.HmacProvider.ComputeHmac(Byte[][] messageArrays) +16
Microsoft.Exchange.HttpProxy.FbaModule.SetCadataCookies(HttpApplication httpApplication) +826
Microsoft.Exchange.HttpProxy.FbaFormPostProxyRequestHandler.HandleFbaFormPost(BackEndServer backEndServer) +2776
Microsoft.Exchange.HttpProxy.FbaFormPostProxyRequestHandler.ShouldContinueProxy() +20
Microsoft.Exchange.HttpProxy.ProxyRequestHandler.BeginProxyRequestOrRecalculate() +229
Microsoft.Exchange.HttpProxy.ProxyRequestHandler.InternalOnCalculateTargetBackEndCompleted(TargetCalculationCallbackBeacon beacon) +1379
Microsoft.Exchange.HttpProxy.<>c__DisplayClass3f.<OnCalculateTargetBackEndCompleted>b__3e() +311
Microsoft.Exchange.Common.IL.ILUtil.DoTryFilterCatch(TryDelegate tryDelegate, FilterDelegate filterDelegate, CatchDelegate catchDelegate) +35
Microsoft.Exchange.HttpProxy.Diagnostics.SendWatsonReportOnUnhandledException(MethodDelegate methodDelegate, LastChanceExceptionHandler exceptionHandler) +121
Microsoft.Exchange.HttpProxy.ProxyRequestHandler.CallThreadEntranceMethod(MethodDelegate method) +69

[AggregateException: One or more errors occurred.]
Microsoft.Exchange.HttpProxy.ProxyRequestHandler.EndProcessRequest(IAsyncResult result) +416
System.Web.CallHandlerExecutionStep.InvokeEndHandler(IAsyncResult ar) +231
System.Web.CallHandlerExecutionStep.OnAsyncHandlerCompletion(IAsyncResult ar) +172

 

45 Replies

@Nikolas_Athanasakis  Hi i have the same problem it started today at 2 am on our server. We can't log in to owa and ecp. I tried to create new auth-Config certificate becouse i couldn't display the thumprint but it didin't work too. im thinking about cu 10 bot not sure if this will fix problem.

best response confirmed by Nikolas_Athanasakis (New Contributor)
Solution
Ok i found solution. Use this to create new certificate https://docs.microsoft.com/en-us/exchange/troubleshoot/administration/cannot-access-owa-or-ecp-if-oa...

And after creating the certificate you must wait like a hour or more for changes work. Restart dont change the wait time :)

We are having the same issue. However my current OAuth cert doesn't expire until 4/22. Any reason to replace it anyway? Also, I applied KB5004779 yesterday.
Same issue here, not sure if I should replace a valid cert or just wait for a different fix.

@Asterofus The link you provided said to restart a couple app pools.  As soon as I did that it took effect immediately.

 

Thank you for the answer!

I encountered the same issue, uninstalled the update and it worked. I'm going to wait to see is there is a new update that doesn't break anything.

@Asterofus Thank you for this tip it worked. One note for others. I created a new certificate and waited for almost two hours, but OWA and ECP were still not working. Then I tried to log into OWA from phone. It took a while but it loaded and stared working normaly. :) Phone method tested on two different servers with the same result. Hope it helps :) 

Thank you very much... Working Working!!! Respect!!! @Asterofus

FYI, Update:
Since our cert wasn't expired I tried and installed CU10 and that solved it for me.

@Asterofus Thanks for the link.  That did the trick for me.  I was not about to uninstall the security update.  I just reinstalled exchange in March after we got hit by HAFNIUM 2 weeks before the patch came out.

 

I did not have to wait an hour, I restarted the Exchange Service Host and did an IISREST and ECP and OWA worked right away.

@Nikolas_Athanasakis 

 

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. :D

oh and an easy way to find your thumbprints is to run the following PS command on the Exchange server. dir Cert:\LocalMachine\My
See my reply below
I did all above with out any luck.
then running the kb5004780 (Exchange 2019) i an elevated cmd, then OWA and ECP worked again.
(ran kb5004780 first as a normal user, not elevated cmd)

Thank you very much for the link! This fixed my issue as well. We were running Exchange 2013 CU23 (no SU installed) and I installed Jul21SU. I received no errors during the install and our Outlook clients could still connect after the upgrade, but I could no longer access OWA or EAC. Our cert was not expired either.  I followed the commands in the article and then ran IISRESET and both worked again! Thank you again!!

 

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

I believe this issue about evelated rights is documented in the link below. Unfortunately, this was not our issue. We were experiencing the issue @Asterofus provided the solution for.

https://docs.microsoft.com/en-us/exchange/troubleshoot/client-connectivity/owa-stops-working-after-u....
I got wiser after I saw the article. the installer .msp should just tell that it should be run as elevated and not as a normal user, it would have solved a lot :)
I went ahead and updated the cert even though mine wasn't expired. After the other steps it started to work right away.

Hello all,

 

I installed Exchange 2013 CU23 on our standalone server and got the same issue:

 

Exception type: ExAssertException
Exception message: ASSERT: HMACProvider.GetCertificates:protectionCertificates.Length<1

The Exchange Auth certificate wasn't expired though. Anyway I tried generating a new certificate and publish it. It didn't resolve the issues. Even after 2 hours of waiting.

After all (before trying the last resort option to uninstall CU23) I tried using the old valid certificate and published it using the same procedure as described here.

After that OWA and ECP returned back to life.

 

With the best regards,

Marat