STRONGSWAN_PKI---ACERT(1)
π NAME π
pki --acert β Issue an attribute certificate. (Also known as the PKI --ACERT(1) page, bestie. π
)
β¨ SYNOPSIS β¨
pki --acert [--in file] [--group membership]
--issuerkey file|--issuerkeyid hex --issuercert file
[--lifetime hours] [--not-before datetime] [--not-
after datetime] [--serial hex] [--digest digest]
[--rsa-padding padding] [--outform encoding] [--debug level]
pki --acert --options file
pki --acert -h | --help
π DESCRIPTION π
So basically, this is a sub-command of pki(1). It issues an attribute certificate, and it does that using an issuer certificate with its private key plus the holder certificate. That's the whole assignment. Periodt. β¨
π OPTIONS π
-h,--helpβ Prints usage information with a summary of the available options. Like a lil' cheat sheet. β¨-v,--debug levelβ Sets debug level, default:1.-+,--options fileβ Reads command line options fromfile.-i,--in fileβ Holder certificate to issue an attribute certificate for. If not given, the certificate is read fromSTDIN.-m,--group membershipβ Group membership the attribute certificate shall certify. The specified group is included as a string. To include multiple groups, the option can be repeated.-k,--issuerkey fileβ Issuer private key file. Either this or--issuerkeyidis required.-x,--issuerkeyid hexβ Smartcard or TPM issuer private key object handle in hex format with an optionalh0xprefix. Either this or--issuerkeyis required.-c,--issuercert fileβ Issuer certificate file. Required. No skipping this one, bestie.-l,--lifetime hoursβ Hours the attribute certificate is valid, default:24. Ignored if both an absolute start and end time are given.-F,--not-before datetimeβ Absolute time when the validity of the AC begins. Thedatetimeformat is defined by the--dateformoption.-T,--not-after datetimeβ Absolute time when the validity of the AC ends. Thedatetimeformat is defined by the--dateformoption.-D,--dateform formβstrptime(3)format for the--not-beforeand--not-afteroptions, default:%d.%m.%y %T-s,--serial hexβ Serial number in hex. It is randomly allocated by default.-g,--digest digestβ Digest to use for signature creation. One ofmd5,sha1,sha224,sha256,sha384, orsha512. The default is determined based on the type and size of the signature key.-R,--rsa-padding paddingβ Padding to use for RSA signatures. Eitherpkcs1orpss, defaults topkcs1.-f,--outform encodingβ Encoding of the created certificate file. Eitherder(ASN.1 DER) orpem(Base64 PEM), defaults toder.
π¦ EXAMPLES π¦
To save repetitive typing, command line options can be stored in files. Let's assume acert.opt contains the following contents:
--issuercert aacert.der --issuerkey aakey.der --digest sha256 --lifetime 4
Then the following command can be used to issue an attribute certificate based on a holder certificate and the options above:
pki --acert --options acert.opt --in holder.der --group sales --group finance -f pem
π₯ SEE ALSO π₯
That's the whole page, bestie. It's from strongSwan 6.0.7, dated 2014-02-05, and it's literally PKI --ACERT(1). Slay. πβ¨π
π¦ where this page comes from
- fedora 43: strongswan 6.0.7-2.fc43 Β· GPL-2.0-or-later
- fedora 44: strongswan 6.0.7-4.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms