優先採用特定的傳輸層安全標準 (TLS) 加密演算法 的登錄值 PreferSlowCiphers電腦HKLM\Software\Policies\Google\Chrome

原則 ID
PreferSlowCiphers
適用範圍
電腦設定、使用者設定
支援的作業系統
Microsoft Windows 7 以上版本
來源
Google Chrome Policy Templates (版本 156.0.8078.80)
類別
Google › Google Chrome › 加密編譯法規遵循政策

登錄

PreferSlowCiphers

REG_SZ電腦使用者
…\Software\Policies\Google\ChromeHKLM\Software\Policies\Google\Chrome 目前的機碼
HKCU\Software\Policies\Google\Chrome
啟用時的值
取決於選項值
元素
優先採用特定的傳輸層安全標準 (TLS) 加密演算法
選項
項目儲存的值
優先採用符合 CNSA 1.0 和 2.0 規定的加密演算法cnsa
使用 Google Chrome 的預設加密演算法順序default
以 .reg · CMD · PowerShell 套用
電腦整部電腦的設定
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome]

; 選項 (只使用其中一個)
; 優先採用符合 CNSA 1.0 和 2.0 規定的加密演算法
"PreferSlowCiphers"="cnsa"
; 使用 Google Chrome 的預設加密演算法順序
"PreferSlowCiphers"="default"
CMD
:: 選項 (只使用其中一個)

:: 優先採用符合 CNSA 1.0 和 2.0 規定的加密演算法
reg add "HKLM\Software\Policies\Google\Chrome" /v "PreferSlowCiphers" /t REG_SZ /d "cnsa" /f
:: 使用 Google Chrome 的預設加密演算法順序
reg add "HKLM\Software\Policies\Google\Chrome" /v "PreferSlowCiphers" /t REG_SZ /d "default" /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKLM:\Software\Policies\Google\Chrome' -Force | Out-Null

# 選項 (只使用其中一個)
# 優先採用符合 CNSA 1.0 和 2.0 規定的加密演算法
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'PreferSlowCiphers' -PropertyType String -Value 'cnsa' -Force | Out-Null
# 使用 Google Chrome 的預設加密演算法順序
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'PreferSlowCiphers' -PropertyType String -Value 'default' -Force | Out-Null
使用者各帳戶的設定
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Google\Chrome]

; 選項 (只使用其中一個)
; 優先採用符合 CNSA 1.0 和 2.0 規定的加密演算法
"PreferSlowCiphers"="cnsa"
; 使用 Google Chrome 的預設加密演算法順序
"PreferSlowCiphers"="default"
CMD
:: 選項 (只使用其中一個)

:: 優先採用符合 CNSA 1.0 和 2.0 規定的加密演算法
reg add "HKCU\Software\Policies\Google\Chrome" /v "PreferSlowCiphers" /t REG_SZ /d "cnsa" /f
:: 使用 Google Chrome 的預設加密演算法順序
reg add "HKCU\Software\Policies\Google\Chrome" /v "PreferSlowCiphers" /t REG_SZ /d "default" /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKCU:\Software\Policies\Google\Chrome' -Force | Out-Null

# 選項 (只使用其中一個)
# 優先採用符合 CNSA 1.0 和 2.0 規定的加密演算法
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'PreferSlowCiphers' -PropertyType String -Value 'cnsa' -Force | Out-Null
# 使用 Google Chrome 的預設加密演算法順序
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'PreferSlowCiphers' -PropertyType String -Value 'default' -Force | Out-Null