ykman piv certificates generate <SLOT> <PUBLIC-KEY>

Generate a self-signed X.509 certificate

Arguments

NameDescription
SLOTPIV slot of the certificate
PUBLIC-KEYFile containing a public key. Use '-' to use stdin

Options

NameDescription
-m, --management-key <TEXT>The management key
-P, --pin <TEXT>PIN code
-s, --subject <TEXT>
  • Required ✳
-d, --valid-days <INTEGER>Number of days until the certificate expires
-a, --hash-algorithm <hash algorithm>Hash algorithm
-h, --helpShow piv certificates generate usage information