Event ID 15021, HTTPEvent Error An error occurred while using SSL configuration for endpoint – Exchange Server 2013

Error Decription:

An error occurred while using SSL configuration for endpoint The error status code is contained within the returned data.

You will find the multiple events are thrown every minute with similar description.

This is a common error I observed in Exchange Server 2013. You will observe the all or few of the following,

1. Exchange Administration Center (EAC) returns blank page
2. The OWA allows login, but returns blank similar to EAC result
3. Outlook or any other Exchange Clients will fail to connect.
4. Exchange Management Shell Fails to connect.

This happens, I suppose, due to the usage of non-existed certificate. I have verified the ID of the certificate in question with the available certificate in my SSL store, however I did not find the one which was assigned to

How to Fix:

1. View the certificate binding, and identify and delete the certificate assigned to IP:Port
2.  Assing (Add) a valid certificate to it which is used by IP:Port


Open Command Prompt (because EMS is broken)

1. Run “netsh http show sslcert

    Note down the Certificate Hash and Application ID of the certificate assigned to IP:Port

2.  Run the below command to delete certificate assigned for IP:Port

    netsh http delete sslcert ipport=

3. Run the below command to add the noted certificate to ipport=

    netsh http add sslcert ipport= certhash=1234ed434 appid="{1010101010}"

    Note – replace the certhash and appid with the value noted earlier.

Wait for a while, and you will no longer observe the error events in the Event log and the Exchange will start functioning as normal. It is recommended to take a restart of the server post these changes.

Google AdSence

AUST IT - Computer help out of hours, when you need it most.

Find out why we do it for less.


AUST IT will help you resolve any technical support issues you are facing onsite or remotely via remote desktop 24/7. More...


Reservoir, Melbourne,
3073, VIC, Australia

Phone: 0422 348 882

This email address is being protected from spambots. You need JavaScript enabled to view it.

Sydney: 0481 837 077


Join us in social networks to be in touch.


Complete the form below, and we'll send you our emails with all the latest AUST IT news.