Validate smart card certificate usage rule compliance
Valider la conformité à la règle d’utilisation des certificats de cartes à puce
Explanation
This policy setting allows you to associate an object identifier from a smart card certificate to a BitLocker-protected drive. This policy setting is applied when you turn on BitLocker.
The object identifier is specified in the enhanced key usage (EKU) of a certificate. BitLocker can identify which certificates may be used to authenticate a user certificate to a BitLocker-protected drive by matching the object identifier in the certificate with the object identifier that is defined by this policy setting.
Default object identifier is 1.3.6.1.4.1.311.67.1.1
Note: BitLocker does not require that a certificate have an EKU attribute, but if one is configured for the certificate it must be set to an object identifier (OID) that matches the OID configured for BitLocker.
If you enable this policy setting, the object identifier specified in the "Object identifier" box must match the object identifier in the smart card certificate.
If you disable or do not configure this policy setting, a default object identifier is used.
Ce paramètre de stratégie permet d’associer un identificateur d’objet issu d’un certificat de carte à puce à un lecteur protégé par BitLocker. Ce paramètre est appliqué lorsque vous activez BitLocker.
L’identificateur d’objet est spécifié dans l’utilisation améliorée de la clé du certificat. BitLocker peut identifier les certificats permettant d’authentifier un certificat utilisateur en relation avec un lecteur protégé par BitLocker en comparant l’identificateur d’objet du certificat avec l’identificateur d’objet défini par ce paramètre de stratégie.
L’identificateur d’objet par défaut est 1.3.6.1.4.1.311.67.1.1
Remarque : BitLocker ne requiert pas qu’un certificat comporte un attribut d’utilisation améliorée de la clé, mais s’il en possède un, l’identificateur d’objet doit correspondre à celui configuré pour BitLocker.
Si vous activez ce paramètre de stratégie, l’identificateur d’objet spécifié dans la zone du même nom doit correspondre à l’identificateur d’objet du certificat de carte à puce.
Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, un identificateur d’objet par défaut est utilisé.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\FVE- 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: VolumeEncryption/UserCertificateOID_Name
$k = 'HKLM:\Software\Policies\Microsoft\FVE'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Object identifier
Set-ItemProperty -Path $k -Name 'CertificateOID' -Value '<value>' -Type StringDisable
# Disable: VolumeEncryption/UserCertificateOID_Name
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": VolumeEncryption/UserCertificateOID_Name
$k = 'HKLM:\Software\Policies\Microsoft\FVE'
Remove-ItemProperty -Path $k -Name 'CertificateOID' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Object identifier:Identificateur d’objet :UserCertificateOID | Text boxtext | CertificateOID | REG_SZ | Required · Default (UI): 1.3.6.1.4.1.311.67.1.1 |