security.default_personal_cert: registry value security.default_personal_certComputerHKLM\Software\Policies\Mozilla\Firefox\Preferences

Policy ID
security_default_personal_cert
Scope
Computer Configuration, User Configuration
Supported on
Firefox 68 or later, Firefox 68 ESR or later
Source
Mozilla Firefox Policy Templates (version 8.3)
Category
Mozilla › Firefox › Preferences (Deprecated)

Registry

security.default_personal_cert

REG_SZComputerUser
Enabled value
Depends on the option value
Element
-
Options
ItemStored value
Ask Every TimeAsk Every Time
Select AutomaticallySelect Automatically
Apply with .reg · CMD · PowerShell
ComputerMachine-wide setting
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Mozilla\Firefox\Preferences]

; Options (use only one)
; Ask Every Time
"security.default_personal_cert"="Ask Every Time"
; Select Automatically
"security.default_personal_cert"="Select Automatically"
CMD
:: Options (use only one)

:: Ask Every Time
reg add "HKLM\Software\Policies\Mozilla\Firefox\Preferences" /v "security.default_personal_cert" /t REG_SZ /d "Ask Every Time" /f
:: Select Automatically
reg add "HKLM\Software\Policies\Mozilla\Firefox\Preferences" /v "security.default_personal_cert" /t REG_SZ /d "Select Automatically" /f
PowerShell
# Common: create the key
New-Item -Path 'HKLM:\Software\Policies\Mozilla\Firefox\Preferences' -Force | Out-Null

# Options (use only one)
# Ask Every Time
New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox\Preferences' -Name 'security.default_personal_cert' -PropertyType String -Value 'Ask Every Time' -Force | Out-Null
# Select Automatically
New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox\Preferences' -Name 'security.default_personal_cert' -PropertyType String -Value 'Select Automatically' -Force | Out-Null
UserPer-account setting
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Mozilla\Firefox\Preferences]

; Options (use only one)
; Ask Every Time
"security.default_personal_cert"="Ask Every Time"
; Select Automatically
"security.default_personal_cert"="Select Automatically"
CMD
:: Options (use only one)

:: Ask Every Time
reg add "HKCU\Software\Policies\Mozilla\Firefox\Preferences" /v "security.default_personal_cert" /t REG_SZ /d "Ask Every Time" /f
:: Select Automatically
reg add "HKCU\Software\Policies\Mozilla\Firefox\Preferences" /v "security.default_personal_cert" /t REG_SZ /d "Select Automatically" /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\Software\Policies\Mozilla\Firefox\Preferences' -Force | Out-Null

# Options (use only one)
# Ask Every Time
New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox\Preferences' -Name 'security.default_personal_cert' -PropertyType String -Value 'Ask Every Time' -Force | Out-Null
# Select Automatically
New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox\Preferences' -Name 'security.default_personal_cert' -PropertyType String -Value 'Select Automatically' -Force | Out-Null