After deploying KB5004778 we have OWA / ECP issue as well (Exchange 2012 CU23)
Microsoft Exchange Server Auth Certificate is valid
AccessRules :
CertificateDomains : {}
HasPrivateKey : True
IsSelfSigned : True
Issuer : CN=Microsoft Exchange Server Auth Certificate
NotAfter : 25.08.2025 15:34:30
NotBefore : 25.08.2020 15:34:30
PublicKeySize : 2048
RootCAType : None
Services : SMTP
Status : Valid
Subject : CN=Microsoft Exchange Server Auth Certificate
https://docs.microsoft.com/en-us/exchange/troubleshoot/administration/cannot-access-owa-or-ecp-if-oauth-expired
What Domain needs to be entered here? -DomainName "contoso.com" internal Domain Name sample.local or external sample.com?
New-ExchangeCertificate -KeySize 2048 -PrivateKeyExportable $true -SubjectName "cn=Microsoft Exchange Server Auth Certificate" -FriendlyName "Microsoft Exchange Server Auth Certificate" -DomainName "contoso.com"
thanks for help