Forum Discussion
15021 error code
An error occurred when using SSL configuration for endpoint localhost:443. The error status code is included in the returned data. 15021 error code- not run EAC or OWA
Janus
2 Replies
Rebind the Correct SSL Certificate
Get-ExchangeCertificate | fl FriendlyName,Subject,Thumbprint,Services
Bind the Certificate to Port 443 Manually
Open Command Prompt as Administrator, and run:netsh http show sslcert
If it's missing or wrong, rebind it using:
netsh http add sslcert ipport=0.0.0.0:443 certhash=<THUMBPRINT> appid="{4dc3e181-e14b-4a21-b022-59fc669b0914}"
Replace <THUMBPRINT> with your cert's thumbprint (no spaces).
appid is a required GUID—it can stay as-is.Restart IIS Services
iisreset
- BawwianIron Contributor
Running Test-ServiceHealth to check the Exchange service status and restarting related services such as MSExchangeFrontEndTransport will fix the 15021 error.