Open in the explorer

security.default_personal_cert

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Mozilla › Firefox › Preferences (Deprecated) User Configuration › Policies › Administrative Templates › Mozilla › Firefox › Preferences (Deprecated)
Supported on
Firefox 68 or later, Firefox 68 ESR or later
ADMX file
firefox.admx
Internal name
firefox/security_default_personal_cert

Explanation

If this policy is enabled, the preference is locked to the value selected. If this policy is disabled, it has no effect.

For a description of the preference, see:

https://firefox-admin-docs.mozilla.org/reference/policies/preferences/.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Mozilla\Firefox\Preferences
HKEY_CURRENT_USER\Software\Policies\Mozilla\Firefox\Preferences
Value name
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

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: firefox/security_default_personal_cert
$k = 'HKLM:\Software\Policies\Mozilla\Firefox\Preferences'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
#
# Possible options:
#   Ask Every Time = Ask Every Time
#   Select Automatically = Select Automatically
Set-ItemProperty -Path $k -Name 'security.default_personal_cert' -Value 'Ask Every Time' -Type String

Disable

# Disable: firefox/security_default_personal_cert
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": firefox/security_default_personal_cert
$k = 'HKLM:\Software\Policies\Mozilla\Firefox\Preferences'
Remove-ItemProperty -Path $k -Name 'security.default_personal_cert' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Preferences_security_default_personal_certDrop-down listenumsecurity.default_personal_certREG_SZ
LabelValue
Ask Every TimeREG_SZ = Ask Every Time
Select AutomaticallyREG_SZ = Select Automatically

Application

Mozilla Firefox (Mozilla) — November 2026 templates

Official templates downloaded on November 12, 2026.