Share via


Event ID 15021 — HTTP Service SSL Availability

Applies To: Windows Server 2008 R2

The availability of Secure Sockets Layer (SSL) depends on whether certificates are installed and used correctly.

Event Details

Product: Windows Operating System
ID: 15021
Source: Microsoft-Windows-HttpEvent
Version: 6.1
Symbolic Name: EVENT_HTTP_INVALID_SSL_CONFIG
Message: An error occurred while using SSL configuration for socket address %2. The error status code is contained within the returned data.

Resolve

Delete and reinstall the certificate

Problems with SSL connections can result from certificates that are not installed or used correctly. Incorrectly installed certificates should be deleted from the system and reinstalled with the appropriate information.

  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. Type netsh http delete sslcert, and then press ENTER to delete the incorrectly installed certificate.
  4. Type netsh http add sslcert, and then press ENTER to reinstall the certificate.

For more information about SSL configuration, see https://go.microsoft.com/fwlink/?LinkId=105006. Note that for Windows Vista and Windows Server  2008, HTTP Configuration Utility (HttpCfg.exe) has been replaced with netsh http.

Verify

To verify that the SSL certificate is correctly installed:

  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.

HTTP Service SSL Availability

Networking