Consider the following scenario when you are using Microsoft Exchange Server 2013 or Microsoft Exchange Server 2016:
- You remove the Microsoft Exchange Self-Signed certificate from the Exchange Back End Website by using Certificates MMC, Remove-Exchangecertificate, IIS Manager or another method.
- You clear the IIS cache by restart or IISReset.
- You are installing a new SSL Certificate to your Exchange system.
In this scenario, several client protocols such as ECP, OWA, ActiveSync and Exchange Management Shell cannot connect. The following issues may occur:
- OWA and ECP display a blank page.
- ActiveSync users cannot receive emails.
- Exchange Management Shell will cannot connect and displays the following Error:
New-PSSession : [dc.local.mcrlegal.com] Processing data from remote server dc.local.mcrlegal.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. The shell handle is valid only when WSManCreateShell function completes successfully. Change the request including a valid shell handle and try again. For more information, see the about_Remote_Troubleshooting Help topic.
At line:1 char:1
+ New-PSSession -ConnectionURI “$connectionUri” -ConfigurationName Microsoft.Excha …
+ CategoryInfo : OpenError: (System.Manageme….RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
+ FullyQualifiedErrorId : -2144108212,PSSessionOpenFailed
Failed to connect to an Exchange server in the current site.
Enter the server FQDN where you want to connect.:
To resolve this issue, add the certificate back to the Exchange Back End web site Or Create a new self-signed certificate, and then bind it to the Exchange Back End web site.
Note: These steps should be taken on the Exchange Mailbox server role:
- Start Management Shell on the Mailbox server.
- Type New-ExchangeCertificate.
Note: If you are prompted to overwrite the default certificate, select No.
- Start IIS Manager on the Mailbox Server.
- Expand Site, highlight Exchange Back End, and select Bindings from the Actions pane in the right side column.
- Select Type https on Port 444.
- Click Edit and select the Microsoft Exchange certificate.
- From an administrator command prompt, run IISReset.