Error Code Portal
MicrosoftWindows WinINetError code

12038

ERROR_INTERNET_SEC_CERT_CN_INVALID

Alternative forms: 0x00002F06 · 0x2F06 · ERROR_INTERNET_SEC_CERT_CN_INVALID

Code 12038 · An issue reported by Windows WinINet.

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.

Troubleshooting and diagnostic links

First check that the document's product, version, and environment match your situation.

This entry links only to official code reference documentation. No separate troubleshooting procedure has been verified.