🟣slot_9e.cnf
Certreq config template for Yubikey's PIV 9E Slot (Card Authentication).
SLOT
PIN Policy
CREATE FILE
C:\Program Files\Common Files\SSL\piv_name_9e.cnfEXAMPLE CONFIG
oid_section = yubikey_oids
[ yubikey_oids ]
nameDistinguisher = 0.2.262.1.10.7.20
msEFSR = 1.3.6.1.4.1.311.10.3.4.1
msEFSRecovery = 1.3.6.1.4.1.311.21.6
driveEncryption = 1.3.6.1.4.1.311.67.1.1
driveRecovery = 1.3.6.1.4.1.311.67.1.2
[ req ]
default_bits = 2048
default_keyfile = piv_sign_9e.pem
default_md = sha256
distinguished_name = yubikey_dn
x509_extensions = yubikey_ext
req_extensions = yubikey_ext
string_mask = MASK:0x2002
utf8 = yes
prompt = no
[ yubikey_dn ]
0.C = NA
1.S = NA
2.L = NA
3.O = Organization
4.OU = Organization Unit
5.CN = Your Common Name
6.emailAddress = email@address.com
7.GN = Your Given Name
8.title = Cert Title
9.description = Description about Cert
10.initials = ABC
11.serialNumber = 1234
[ sans ]
DNS.0 = localhost
DNS.1 = myexampleclient.com
[ yubikey_ext ]
basicConstraints = CA:false,pathlen:0
nsCertType = objsign, objCA
nsComment = "EFS/BLE 9E"
subjectAltName = @sans
extendedKeyUsage = critical,msEFS, msEFSR, nsSGC, msEFSRecovery, driveEncryption, driveRecovery, msSmartcardLogin
keyUsage = critical,keyEncipherment, dataEnciphermentLast updated