# Exchange 2013 powershell errors out, and Exchange 2013 ECP doesn’t work correctly

After Exchange 2013 system is updated or after reboot ECP / OWA and other IIS pages appear blank. Also Powershell…

blog

22 Mar 2015 de

![Exchange 2013 powershell errors out, and Exchange 2013 ECP  doesn’t work correctly](/wp-content/uploads/2016/02/MicrosoftExchange.png)

[Bilder ansehen (3)](#pf-content-image-1-0)

After **Exchange 2013** system is updated or after reboot **ECP** / **OWA** and other **IIS** pages appear **blank**. Also Powershell is not able to open up, and event log is full of errors.

### ❗ Problem Description

**Exchange 2013 powershell** errors out, and **Exchange 2013 ECP** doesn't work correctly (users get a login screen then a **blank page**). Moreover there is an **EVENT** being logged in Administrative Events (**Event ID 15021**, Source **HttpEvent**):

> *An error occurred while using SSL configuration for endpoint 0.0.0.0:444. The error status code is contained within the returned data.*

**Error in PowerShell**:

> VERBOSE: Connecting to MAIL2. New-PSSession : [mail2] Connecting to remote server mail2 failed with the following error messa ge : [ClientAccessServer=MAIL2,BackEndServer=mail2,RequestId=fd9724cd-19fb-4842-b30d-c9c4b976119f,TimeStamp =2015-03-24 18:55:58] [FailureCategory=Cafe-SendFailure] For more information, see the about_Remote_Troubleshooting He lp topic. At line:1 char:1 + New-PSSession -ConnectionURI “$connectionUri” -ConfigurationName Microsoft CategoryInfo : OpenError: (System.Manageme….RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin gTransportException + FullyQualifiedErrorId : -2144108477,PSSessionOpenFailed

[!\[Event ID 15021\](/wp-content/uploads/2016/03/61e58b92782748c99cf1222274376c71.png)](/wp-content/uploads/2016/03/61e58b92782748c99cf1222274376c71.png)

**Cause**: This event is logged when an error occurred while using SSL configuration for socket address.The error status code is contained within the returned data.

[!\[Event_15021_1\](/wp-content/uploads/2015/03/Event_15021_1.png)](/wp-content/uploads/2015/03/Event_15021_1.png)[!\[Event_15021_2\](/wp-content/uploads/2015/03/Event_15021_2.png)](/wp-content/uploads/2015/03/Event_15021_2.png)

### 🔑 Solution

Solution to solve it is to replace the certificate for 0.0.0.0:444 with the correct one. For some reason one of the certificates is being used instead of the one that is being served on standard https port.

1. Click **Start**, point to **All Programs**, click **Accessories**, right-click **Command Prompt**, click**Run as administrator**, and then click **Continue**.
2. Type **netsh http show sslcert**, and then press ENTER to view the installed certificates.
3. This will show the certs. Make a copy of the output to safe place.
4. Under **IP:port 127.0.0.1:443** note the certificate **hash** and **application ID**.
5. Type **netsh http delete sslcert ipport=0.0.0.0:444** (do this command even if the port doesn't exists on the list), and then press ENTER to delete the incorrectly installed certificate.
6. **netsh http add sslcert ipport=0.0.0.0:444 certhash= appid=” ”**, and then press ENTER to reinstall the certificate.
7. Reboot server

That's it. After rebooting certificate should be in it's place and content from **Exchange** being served correctly.

## Zugehörige Projekte

Projekte, die zu Tags, Kategorien und Inhalt dieses Beitrags passen.

[Alle Projekte](/de/projekte/)

Projekte werden abgeglichen...

[Zurück zum Blog](/blog)

## Ähnliche Beiträge

- [Monitoring Active Directory Changes on Users and Groups with PowerShell](/de/blog/monitoring-active-directory-changes-on-users-and-groups-with-powershell/)
- [PowerShell – How to find users without default quota set on Microsoft Exchange](/de/blog/powershell-how-to-find-users-without-default-quota-set-on-microsoft-exchange/)
- [The only PowerShell Command you will ever need to find out who did what in Active Directory](/de/blog/the-only-powershell-command-you-will-ever-need-to-find-out-who-did-what-in-active-directory/)

<!-- PowerForge markdown artifact sha256:4F16F64A96FBF2DA1C48421E89ACDB062A988618091EF8DBAD16AC36C36BE9A5 -->
