Skip to content

Windows error inside an HRESULT

0x80072F8F ERROR_WINHTTP_SECURE_FAILURE

The secure (TLS) connection failed. Seen as 0x80072F8F. The most common cause is a PC clock that is wrong, so certificates look expired or not yet valid.

Where you will see it

  • Windows Update
  • Microsoft Store
  • Activation

Likely causes, most common first

  • Wrong date, time or time zone.
  • Security software inspecting secure connections.
  • Missing root certificate updates.

How to fix it, in this order

Start with the first fix and check the result before moving on; each one says how to tell that it worked.

1. Fix the date, time and time zone (easy)

  1. Open Settings, Time & language, Date & time.
  2. Turn on Set time automatically and Set time zone automatically, then press Sync now.
  3. Try again.

It worked if: The clock in the taskbar matches the real time, and the secure connection now works.

2. Check the connection, proxy and VPN (easy)

  1. Open a website in the browser to confirm the PC is online.
  2. Pause any VPN, and turn off a proxy under Settings, Network & internet, Proxy, unless your workplace needs it.
  3. If a third-party firewall or antivirus is installed, pause it for one try.
  4. Try again.

It worked if: The download or connection completes.

What Microsoft's documentation says

Microsoft's own wording for this code, quoted from the page named under each quote. The plain-English explanation and the fixes above are ours.

“One or more errors were found in the Secure Sockets Layer (SSL) certificate sent by the server.”
Listed as ERROR_WINHTTP_SECURE_FAILURE (12175) in Error Messages (Winhttp.h) on Microsoft Learn. Read 22 November 2026.
“WinINet failed to perform content decoding on the response.”
Listed as ERROR_INTERNET_DECODING_FAILED (12175) in Error Messages (Wininet.h) on Microsoft Learn. Read 22 November 2026.
“TLS 1.2 isn't configured correctly on the client.”
Listed as WININET_E_DECODING_FAILED in Common Windows Update errors on Microsoft Learn. Read 22 November 2026.

Microsoft’s fix for Windows Update: turn on TLS 1.2 (on older Windows versions, the update in KB3140245).

The same code, written other ways

Search a log or a forum for any of these; they are all this code.

How the code is put together

Read from the bits as Microsoft's [MS-ERREF] Windows Error Codes specification lays them out.

Codes that often come with it

More than one code in your log?

Paste the whole CBS, DISM or Windows Update log into the decoder. It lists every code in it, in order, with the line it was on. Decoded in your browser; nothing is sent.

Open the error code decoder →