Definir a política de segurança TLS/SSL para impressoras IPP: valor do Registro SecurityFlagsBlockUnknownCA e mais 3ComputadorHKLM\Software\Policies\Microsoft\Windows NT\Printers\IPP

ID da política
ConfigureIppTlsCertificatePolicy
Escopo
Configuração do Computador
Compatível com
Pelo menos Windows 11 Versão 24H2
Fonte
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versão 1.0)
Categoria
Impressoras

Registro

SecurityFlagsBlockUnknownCA

REG_DWORDComputador
Marcado
1
Desmarcado
0
Elemento
Não permitir autoridade de certificação inválida
Tipo de valor
REG_DWORD
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers\IPP]

; Opções (use apenas uma)
; Marcado
"SecurityFlagsBlockUnknownCA"=dword:00000001
; Desmarcado
"SecurityFlagsBlockUnknownCA"=dword:00000000
CMD
:: Opções (use apenas uma)

:: Marcado
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers\IPP" /v "SecurityFlagsBlockUnknownCA" /t REG_DWORD /d 1 /f
:: Desmarcado
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers\IPP" /v "SecurityFlagsBlockUnknownCA" /t REG_DWORD /d 0 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\IPP' -Force | Out-Null

# Opções (use apenas uma)
# Marcado
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\IPP' -Name 'SecurityFlagsBlockUnknownCA' -PropertyType DWord -Value 1 -Force | Out-Null
# Desmarcado
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\IPP' -Name 'SecurityFlagsBlockUnknownCA' -PropertyType DWord -Value 0 -Force | Out-Null

SecurityFlagsBlockCertWrongUsage

REG_DWORDComputador
Marcado
1
Desmarcado
0
Elemento
Não permitir certificados que não são de servidor
Tipo de valor
REG_DWORD
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers\IPP]

; Opções (use apenas uma)
; Marcado
"SecurityFlagsBlockCertWrongUsage"=dword:00000001
; Desmarcado
"SecurityFlagsBlockCertWrongUsage"=dword:00000000
CMD
:: Opções (use apenas uma)

:: Marcado
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers\IPP" /v "SecurityFlagsBlockCertWrongUsage" /t REG_DWORD /d 1 /f
:: Desmarcado
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers\IPP" /v "SecurityFlagsBlockCertWrongUsage" /t REG_DWORD /d 0 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\IPP' -Force | Out-Null

# Opções (use apenas uma)
# Marcado
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\IPP' -Name 'SecurityFlagsBlockCertWrongUsage' -PropertyType DWord -Value 1 -Force | Out-Null
# Desmarcado
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\IPP' -Name 'SecurityFlagsBlockCertWrongUsage' -PropertyType DWord -Value 0 -Force | Out-Null

SecurityFlagsBlockCertCNInvalid

REG_DWORDComputador
Marcado
1
Desmarcado
0
Elemento
Não permitir nome comum de certificado inválido
Tipo de valor
REG_DWORD
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers\IPP]

; Opções (use apenas uma)
; Marcado
"SecurityFlagsBlockCertCNInvalid"=dword:00000001
; Desmarcado
"SecurityFlagsBlockCertCNInvalid"=dword:00000000
CMD
:: Opções (use apenas uma)

:: Marcado
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers\IPP" /v "SecurityFlagsBlockCertCNInvalid" /t REG_DWORD /d 1 /f
:: Desmarcado
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers\IPP" /v "SecurityFlagsBlockCertCNInvalid" /t REG_DWORD /d 0 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\IPP' -Force | Out-Null

# Opções (use apenas uma)
# Marcado
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\IPP' -Name 'SecurityFlagsBlockCertCNInvalid' -PropertyType DWord -Value 1 -Force | Out-Null
# Desmarcado
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\IPP' -Name 'SecurityFlagsBlockCertCNInvalid' -PropertyType DWord -Value 0 -Force | Out-Null

SecurityFlagsBlockCertDateInvalid

REG_DWORDComputador
Marcado
1
Desmarcado
0
Elemento
Não permitir data de certificado inválida
Tipo de valor
REG_DWORD
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers\IPP]

; Opções (use apenas uma)
; Marcado
"SecurityFlagsBlockCertDateInvalid"=dword:00000001
; Desmarcado
"SecurityFlagsBlockCertDateInvalid"=dword:00000000
CMD
:: Opções (use apenas uma)

:: Marcado
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers\IPP" /v "SecurityFlagsBlockCertDateInvalid" /t REG_DWORD /d 1 /f
:: Desmarcado
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers\IPP" /v "SecurityFlagsBlockCertDateInvalid" /t REG_DWORD /d 0 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\IPP' -Force | Out-Null

# Opções (use apenas uma)
# Marcado
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\IPP' -Name 'SecurityFlagsBlockCertDateInvalid' -PropertyType DWord -Value 1 -Force | Out-Null
# Desmarcado
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\IPP' -Name 'SecurityFlagsBlockCertDateInvalid' -PropertyType DWord -Value 0 -Force | Out-Null