KDC support for PKInit Freshness Extension
Prise en charge du contrôleur de domaine Kerberos pour l’extension d’actualisation de PKInit
Explanation
Support for PKInit Freshness Extension requires Windows Server 2016 domain functional level (DFL). If the domain controller’s domain is not at Windows Server 2016 DFL or higher this policy will not be applied.
This policy setting allows you to configure a domain controller (DC) to support the PKInit Freshness Extension.
If you enable this policy setting, the following options are supported:
Supported: PKInit Freshness Extension is supported on request. Kerberos clients successfully authenticating with the PKInit Freshness Extension will get the fresh public key identity SID.
Required: PKInit Freshness Extension is required for successful authentication. Kerberos clients which do not support the PKInit Freshness Extension will always fail when using public key credentials.
If you disable or not configure this policy setting, then the DC will never offer the PKInit Freshness Extension and accept valid authentication requests without checking for freshness. Users will never receive the fresh public key identity SID.
La prise en charge de l’extension d’actualisation de PKInit nécessite le niveau fonctionnel du domaine (DFL) Windows Server 2016. Si le domaine du contrôleur de domaine n’est pas au DFL Windows Server 2016 ou supérieur, cette stratégie ne s’applique pas.
Ce paramètre de stratégie vous permet de configurer un contrôleur de domaine (DC) pour prendre en charge l’extension d’actualisation de PKInit.
Si vous activez ce paramètre de stratégie, les options suivantes sont prises en charge :
Pris en charge : l’extension d’actualisation de PKInit est prise en charge à la demande. Les clients Kerberos s’authentifiant avec succès auprès de l’extension d’actualisation de PKInit obtiennent le SID d’identité de clé public actualisé.
Obligatoire : l’extension d’actualisation de PKInit est requise pour la réussite de l’authentification. Les clients Kerberos qui ne prennent pas en charge l’extension d’actualisation de PKInit échouent toujours lorsqu’ils utilisent des informations d’identification de clé publique.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, le contrôleur de domaine ne propose jamais l’extension d’actualisation de PKInit et accepte les demandes d’authentification valides sans vérifier l’actualisation. Les utilisateurs ne reçoivent jamais le SID d’identité de clé publique actualisé.
Registry
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters- 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.
Enable
# Enable: kdc/PKINITFreshness
$k = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# PKInit Freshness Extension options
# Possible options:
# Disabled = 0
# Supported = 1
# Required = 2
Set-ItemProperty -Path $k -Name 'PKINITFreshness' -Value 1 -Type DWordDisable
# Disable: kdc/PKINITFreshness
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": kdc/PKINITFreshness
$k = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters'
Remove-ItemProperty -Path $k -Name 'PKINITFreshness' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| PKInit Freshness Extension options:Options d’extension d’actualisation de PKInit :PKINITFreshness_Levels | Drop-down listenum | PKINITFreshness | REG_DWORD | Default choice (UI): #1
|