en-US windows computer

Set TLS/SSL security policy for IPP printers

Verified with Windows 11 25H2 — updated on July 30, 2026

Windows 11 25H2

Supported on: At least Windows 11 Version 24H2

Path in the GPO console

Computer Configuration\Administrative Templates\Printers

Description

Determines the TLS/SSL security policy (WINHTTP_OPTION_SECURITY_FLAGS) for printers using the Microsoft IPP Class Driver. By default, security policy is set to ignore all certificate errors, allowing use of self-signed certificates for printers. If you enable this setting the system defaults to enabling all certificate checking, disallowing certificate errors. Specific certificate checking can be set with the given checkboxes. If you disable this setting or do not configure it, the default is to ignore all certificate errors (all checkboxes unchecked).

Registry

HKLM Software\Policies\Microsoft\Windows NT\Printers\IPP

More options available

Options

Disallow invalid certificate authority
SecurityFlagsBlockUnknownCA boolean - default: 1
Disallow non-server certificates
SecurityFlagsBlockCertWrongUsage boolean - default: 1
Disallow invalid certificate common name
SecurityFlagsBlockCertCNInvalid boolean - default: 1
Disallow invalid certificate date
SecurityFlagsBlockCertDateInvalid boolean - default: 1

MDM / Intune (CSP)

./Device/Vendor/MSFT/Policy/Config/Printers/ConfigureIppTlsCertificatePolicy
Device Since Windows Insider Preview Official mapping (Microsoft Learn)

Microsoft Learn documentation Mapping data: Microsoft Learn (CC BY 4.0)

Export Builder

BETA

Configure the state, scope and options, then generate .reg, PowerShell, Intune and SCCM outputs — or add the setting to a multi-setting collection.

These exports write the registry — this is not a managed GPO.

.reg file

Windows Registry Editor Version 5.00

; Exported from gporais.com
; Policy: Set TLS/SSL security policy for IPP printers
; State: Enabled
; Supported on: At least Windows 11 Version 24H2

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers\IPP]
"SecurityFlagsBlockUnknownCA"=dword:00000001
"SecurityFlagsBlockCertWrongUsage"=dword:00000001
"SecurityFlagsBlockCertCNInvalid"=dword:00000001
"SecurityFlagsBlockCertDateInvalid"=dword:00000001
More formats (PowerShell, Intune, SCCM)

PowerShell

# Exported from gporais.com
# Policy: Set TLS/SSL security policy for IPP printers
# State: Enabled
# Supported on: At least Windows 11 Version 24H2

$path = 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\IPP'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'SecurityFlagsBlockUnknownCA' -Value 1 -Type DWord
Set-ItemProperty -Path $path -Name 'SecurityFlagsBlockCertWrongUsage' -Value 1 -Type DWord
Set-ItemProperty -Path $path -Name 'SecurityFlagsBlockCertCNInvalid' -Value 1 -Type DWord
Set-ItemProperty -Path $path -Name 'SecurityFlagsBlockCertDateInvalid' -Value 1 -Type DWord

Building a multi-setting collection? Add this setting and generate combined .reg / PowerShell / GPO scripts.

Open the Builder

Embed this policy on your site

What to embed
Theme

Adds one script line: the theme follows your site’s appearance and the height fits the content. If your site blocks scripts, the embed follows the visitor’s system theme.

Preview