Exchange ServerTroubleshooting

OWA and ECP broken after certificate changes: fixing the Exchange Back End 444 binding

Blank OWA and ECP pages, EMS WinRM errors or Event 15021 after certificate work? Restore the self-signed Microsoft Exchange certificate on the Exchange Back End site's port 444 binding.

You renew or tidy up certificates on an Exchange server, everything looks fine, and then after the next reboot or IIS reset Outlook on the web and the Exchange admin center show a blank page and the Exchange Management Shell won't connect. The usual culprit is the HTTPS binding on port 444 of the Exchange Back End website. In this post I'll show how to confirm it, put the right certificate back and stop it happening again.

Errors this guide fixes

  • An error occurred while using SSL configuration for endpoint 0.0.0.0:444System log (Event ID 15021)
  • The WinRM Shell client cannot process the request. The shell handle passed to the WSMan Shell function is not valid.Exchange Management Shell
  • Failed to connect to an Exchange server in the current site.Exchange Management Shell+1 more guide
  • Event ID 15021 (HttpEvent)System log+1 more guide
  • Enter the server FQDN where you want to connect.Exchange Management Shell
How this guide is organised: Symptoms → Why it happens → How to fix it → Verify the fix → Prevent it next timeFlow diagram of the article's sections in reading order: 1. Symptoms. 2. Why it happens. 3. How to fix it (4 steps: Confirm the binding is broken; Make sure a valid Microsoft Exchange certificate exists; Bind it to port 444; Restart IIS). 4. Verify the fix. 5. Prevent it next time. Toolbox: Add-PSSnapin, netsh, Get-MailboxDatabase, Get-WinEvent, Get-ChildItem.1Symptoms2Why it happens3How to fix it4Verify the fix5Prevent it nexttime1Confirm the binding isbroken2Make sure a validMicrosoft Exchange cer…3Bind it to port 4444Restart IISTOOLBOXAdd-PSSnapinnetshGet-MailboxDatabaseGet-WinEventGet-ChildItemHow this guide is organised: Symptoms → Why it happens → How to fix it → Verify the fix → Prevent it next timeFlow diagram of the article's sections in reading order: 1. Symptoms. 2. Why it happens. 3. How to fix it (4 steps: Confirm the binding is broken; Make sure a valid Microsoft Exchange certificate exists; Bind it to port 444; Restart IIS). 4. Verify the fix. 5. Prevent it next time. Toolbox: Add-PSSnapin, netsh, Get-MailboxDatabase, Get-WinEvent, Get-ChildItem.1Symptoms2Why it happens3How to fix it1Confirm the binding is broken2Make sure a valid Microsoft Exchangecertificate exists3Bind it to port 4444Restart IIS4Verify the fix5Prevent it next timeTOOLBOXAdd-PSSnapinnetshGet-MailboxDatabaseGet-WinEventGet-ChildItem
At a glance: how this guide is organised · 4 fix steps · 5 key tools

Symptoms#

  • The OWA or ECP sign-in page loads, but after you sign in the page stays blank.
  • ActiveSync devices stop receiving mail, and other proxied clients can fail too.
  • The Exchange Management Shell can't connect:
Text
New-PSSession : [ex01.contoso.com] Processing data from remote server ex01.contoso.com failed with the
following error message: The WinRM Shell client cannot process the request. The shell handle passed to
the WSMan Shell function is not valid. ...
Failed to connect to an Exchange server in the current site.
Enter the server FQDN where you want to connect.:
  • The System log may show HttpEvent ID 15021: An error occurred while using SSL configuration for endpoint 0.0.0.0:444. The error status code is contained within the returned data.
  • It started after certificate work: a public certificate renewed and the old one deleted, a clean-up of "untrusted" self-signed certificates, or bindings edited in IIS Manager. It often appears days later, because IIS only notices after a restart.

Why it happens#

Every Exchange 2016, 2019 and SE server with the Mailbox role runs two IIS websites. The Default Web Site (ports 80 and 443) is the front end that clients talk to. The Exchange Back End site (ports 81 and 444) hosts the real OWA, ECP, EWS, ActiveSync and PowerShell applications. The front end authenticates the request and proxies it to port 444 on the server that holds the active copy of the user's mailbox database, which may be a different server.

Setup creates a self-signed certificate with the friendly name Microsoft Exchange and binds it to port 444. There it secures traffic between the two sites, which users never see, so it doesn't need to be publicly trusted. If that certificate is deleted, or the binding is pointed at a certificate that later disappears, HTTP.sys can't complete the TLS handshake and the front end can't proxy anything to that server. Because of cross-server proxying, users whose mailboxes are active on the broken server are affected whichever server they connect to.

How to fix it#

1. Confirm the binding is broken#

On each Mailbox server, in an elevated PowerShell window, compare what HTTP.sys has bound to 444 with the certificates in the computer store:

PowerShell
netsh http show sslcert ipport=0.0.0.0:444
Get-ChildItem Cert:\LocalMachine\My | Format-Table Thumbprint, FriendlyName, NotAfter, Subject -AutoSize

Healthy looks like a Certificate Hash that matches an unexpired certificate named Microsoft Exchange. If the binding is missing, or its hash matches nothing in the store, you've found the fault. In IIS Manager, Sites › Exchange Back End › Bindings › https (444) › Edit shows the same thing: no certificate, or the wrong one.

2. Make sure a valid Microsoft Exchange certificate exists#

If the certificate is still in the store and only the binding changed, go to step 3. Otherwise create a new one. When EMS on the broken server asks for another server FQDN, give it a healthy Exchange server and target the broken one by name:

PowerShell
New-ExchangeCertificate -Server EX01 -SubjectName "cn=EX01" -DomainName EX01,ex01.contoso.com -FriendlyName "Microsoft Exchange"

If you're asked whether to overwrite the existing default certificate, answer No. In a single-server organisation, open an elevated Windows PowerShell session on the server and load the snap-in just for this repair: Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn.

3. Bind it to port 444#

In IIS Manager, open Sites › Exchange Back End › Bindings, edit the https binding on port 444 and select the Microsoft Exchange certificate (use View to check the thumbprint if more than one has that name). On Server Core, use the WebAdministration module instead:

PowerShell
Import-Module WebAdministration
$cert = Get-ChildItem Cert:\LocalMachine\My |
  Where-Object { $_.FriendlyName -eq 'Microsoft Exchange' -and $_.NotAfter -gt (Get-Date) } |
  Sort-Object NotAfter -Descending | Select-Object -First 1
$binding = Get-WebBinding -Name 'Exchange Back End' -Protocol https -Port 444
$binding.RemoveSslCertificate()   # an error here just means nothing was bound
$binding.AddSslCertificate($cert.Thumbprint, 'My')

Watch out: Don't bind your public certificate to 444 to make things "consistent". It works until that certificate is renewed and the old one removed, and then you're back here. Port 443 on the Default Web Site gets the CA-issued certificate; port 444 keeps the self-signed one.

4. Restart IIS#

Run iisreset from an elevated prompt (expect a brief interruption on that server), then repeat steps 1–4 on every Mailbox server where the binding was wrong. While you're in IIS Manager, confirm that the Default Web Site's 443 binding still holds your CA-issued certificate.

Verify the fix#

  • netsh http show sslcert ipport=0.0.0.0:444 shows the thumbprint of the valid Microsoft Exchange certificate.
  • OWA and ECP load fully for a user whose database is mounted on the repaired server (Get-MailboxDatabase -Status | Format-Table Name, MountedOnServer).
  • The Exchange Management Shell opens on the server without errors.
  • No new events: Get-WinEvent -FilterHashtable @{LogName='System'; Id=15021; StartTime=(Get-Date).AddHours(-1)} -ErrorAction SilentlyContinue returns nothing.
  • A test ActiveSync device receives a new message.

Prevent it next time#

  • Before deleting any certificate, check what uses it: Get-ChildItem IIS:\SslBindings | Format-Table IPAddress, Port, Thumbprint (after Import-Module WebAdministration).
  • Never remove the Microsoft Exchange self-signed certificate. It's valid for five years; renew it with Get-ExchangeCertificate -Thumbprint <old thumbprint> | New-ExchangeCertificate, bind the new one to 444 (step 3), check that 443 still has your public certificate, and only then remove the old one.
  • A public certificate renewal only needs Enable-ExchangeCertificate -Services IIS for the front end; there's no reason to touch the Exchange Back End bindings (see renewing the SAN and Auth certificates).
  • Run iisreset in the same maintenance window as any certificate change, so a bad binding fails while you're still watching, and review certificate lifetimes with the Health Checker.
  • If OWA or ECP returns HTTP 500 and the 444 binding checks out, look at the other causes in OWA and ECP HTTP 500 errors: telling the causes apart.

References#

Written and checked against current Microsoft Learn documentation. Test changes with a pilot group before rolling them out to everyone, and if an admin center path has moved since, search for the setting name instead.

Spotted a mistake, or did this fix work differently for you? Email me or message me on LinkedIn — corrections are credited in the article.

Written by

Omer Eltayeb

Intune Subject Matter Expert in Cairo, Egypt, former Microsoft Cloud Solutions Architect, Microsoft Certified Trainer and Microsoft Innovative Educator Expert (2024–26) and Microsoft Elevate Educator Expert (2026–27). I share practical, step-by-step guides, study plans, scripts and toolkits for Microsoft Intune, Configuration Manager, Microsoft Entra ID, Microsoft Defender, Exchange and Microsoft 365 with the community.

Microsoft Certified Trainer (MCT) 2026Microsoft Innovative Educator Expert 2025–2026Microsoft Elevate Educator Expert 2026–2027ISC2 Certified Information Systems Security Professional (CISSP)Microsoft 365 Certified: Enterprise Administrator Expert (MS-102)