大网数据广告活动
Web服务器与PHP

HTTP Error 403.16 when you access a website

· 52CE 我爱测

This article describes the problem where an HTTP 403.16 error occurs when you try to access a website that's hosted on IIS.

This article helps you resolve the "HTTP 403.16 - Forbidden" error that occurs when you access a website that's hosted on Internet Information Services (IIS).

Original product version:   Internet Information Services
Original KB number:   942061

Symptoms

You have a website hosted on the IIS web server that ships with Windows Server 2016 or later. When you try to access the site through a web browser, you receive an error message that resembles one of the following examples:

  • Error message 1

    Server Error in Application "application name"
    HTTP Error 403.16 - Forbidden
    HRESULT: 0x800b0109
    Description of HRESULT
    Your client certificate is either not trusted or is invalid.

  • Error message 2

    HTTP 403.16 Client certificate is untrusted or invalid. Smart Card Users Cannot Authenticate.403 Forbidden

Cause 1: Root certificate isn't in Trusted Root Certification Authorities Certificate store

This problem occurs because the root certificate of the certification authority isn't in the Trusted Root Certification Authorities Certificate store on the IIS Web server.

Note: The root certificate of the certification authority is used to issue the client certificate.

Resolution for cause 1

  1. On the IIS Web server, select Start, type mmc.exe in the Start Search box, right-click mmc.exe, and then select Run as administrator.

    [!NOTE] If you are prompted for an administrator password or for a confirmation, type the password, or select Continue.

  2. On the File menu, select Add/Remove Snap-in.

  3. Under Available snap-ins, select Certificates, and then select Add.

  4. Select Computer account, and then select Next.

  5. Select Local computer, select Finish, and then select Close.

  6. To exit the wizard, select OK.

  7. Expand Certificates > Trusted Root Certification Authorities, right-click Certificates, point to All Tasks, and then select Import.

  8. In the Certificate Import Wizard, select Next.

  9. In the File name box, type the location of the root certificate of the certification authority, and then select Next.

  10. Select Next > Finish.

Cause 2: Non-self-signed certificates are in Trusted Root Certification Authorities Certificate store

There are one or more non-self-signed certificates in the Trusted Root Certification Authorities Certificate store. A non-self-signed certificate is any certificate for which the Issued To and Issued By values aren't an exact match.

Resolution for cause 2

Move any non-self-signed certificated out of the Trusted Root Certification Authorities Certificate store and into the Intermediate Certification Authorities Certificate store.

More information

To identify all non-self-signed certificates in the Trusted Root Certification Authorities Certificate store, run the following PowerShell command:

Get-Childitem cert:\LocalMachine\root -Recurse |
Where-Object {$_.Issuer -ne $_.Subject} | Format-List * | Out-File "c:\computer_filtered.txt"

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
See source applicability · Source date 01/09/2025
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。