Open in the explorer

Turn on certificate address mismatch warning

Activer l’avertissement relatif aux incohérences d’adresses de certificats

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Internet Explorer › Internet Control Panel › Security Page User Configuration › Policies › Administrative Templates › Windows Components › Internet Explorer › Internet Control Panel › Security Page FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Internet Explorer › Panneau de configuration Internet › Onglet SécuritéFR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Internet Explorer › Panneau de configuration Internet › Onglet Sécurité
Supported on
At least Internet Explorer 8.0 FR: Au moins Internet Explorer 8.0
ADMX file
inetres.admx
Internal name
inetres/IZ_PolicyWarnCertMismatch

Explanation

This policy setting allows you to turn on the certificate address mismatch security warning. When this policy setting is turned on, the user is warned when visiting Secure HTTP (HTTPS) websites that present certificates issued for a different website address. This warning helps prevent spoofing attacks.

If you enable this policy setting, the certificate address mismatch warning always appears.

If you disable or do not configure this policy setting, the user can choose whether the certificate address mismatch warning appears (by using the Advanced page in the Internet Control panel).

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet d’activer l’avertissement de sécurité relatif aux incohérences d’adresses de certificats. Lorsque ce paramètre de stratégie est activé, l’utilisateur est averti lorsqu’il visite des sites Web HTTP sécurisés (HTTPS) qui présentent des certificats émis pour une autre adresse de site Web. Cet avertissement vous protège des attaques de sites Web falsifiés.

Si vous activez ce paramètre de stratégie, l’avertissement relatif aux incohérences d’adresses de certificats apparaît toujours.

Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, l’utilisateur est libre d’afficher l’avertissement relatif aux incohérences d’adresses de certificats (via l’onglet Avancé de la boîte de dialogue Options Internet).

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings
Value name
WarnOnBadCertRecving
StateValue written
EnabledREG_DWORD = 1
Disablednot defined in the ADMX

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Computer (HKLM)

Enable

# Enable: inetres/IZ_PolicyWarnCertMismatch
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'WarnOnBadCertRecving' -Value 1 -Type DWord

Disable

# Disable: inetres/IZ_PolicyWarnCertMismatch
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings'
# disabledValue is not defined in the ADMX: no value is specified for the "Disabled" state

Revert to "Not configured"

# Revert to "Not configured": inetres/IZ_PolicyWarnCertMismatch
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings'
Remove-ItemProperty -Path $k -Name 'WarnOnBadCertRecving' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Availability