0x00002F06
ERROR_WINHTTP_SECURE_CERT_CN_INVALID
Returned when a certificate CN name does not match the passed value (equivalent to a **CERT_E_CN_NO_MATCH** error).
win32decimal 12038Networking
Matched as: the code as given (hex)
Other names
- ERROR_INTERNET_SEC_CERT_CN_INVALID: SSL certificate common name (host name field) is incorrect for example, if you entered `www.server.com` and the common name on the certificate says `www.different.com`.
Log a case with no specific solution
Source: WinHTTP Error Messages · CC-BY-4.0 (MicrosoftDocs/sdk-api, repo license verified 2026-10-09) · retrieved 2026-10-09