1 .TH "PKI \-\-ACERT" 1 "2014-02-05" "@PACKAGE_VERSION@" "strongSwan"
5 pki \-\-acert \- Issue an attribute certificate
11 .OP \-\-group membership
12 .BI \-\-issuerkey\~ file |\-\-issuerkeyid\~ hex
13 .BI \-\-issuercert\~ file
14 .OP \-\-lifetime hours
17 .OP \-\-outform encoding
22 .BI \-\-options\~ file
35 is used to issue an attribute certificate using an issuer certificate with its
36 private key and the holder certificate.
42 Print usage information with a summary of the available options.
44 .BI "\-v, \-\-debug " level
45 Set debug level, default: 1.
47 .BI "\-+, \-\-options " file
48 Read command line options from \fIfile\fR.
50 .BI "\-i, \-\-in " file
51 Holder certificate to issue an attribute certificate for. If not given the
52 certificate is read from \fISTDIN\fR.
54 .BI "\-m, \-\-group " membership
55 Group membership the attribute certificate shall certify. The specified group
56 is included as a string. To include multiple groups, the option can be repeated.
58 .BI "\-k, \-\-issuerkey " file
59 Issuer private key file. Either this or
63 .BI "\-x, \-\-issuerkeyid " hex
64 Key ID of a issuer private key on a smartcard. Either this or
68 .BI "\-c, \-\-issuercert " file
69 Issuer certificate file. Required.
71 .BI "\-l, \-\-lifetime " hours
72 Hours the attribute certificate is valid, default: 24.
74 .BI "\-s, \-\-serial " hex
75 Serial number in hex. It is randomly allocated by default.
77 .BI "\-g, \-\-digest " digest
78 Digest to use for signature creation. One of \fImd5\fR, \fIsha1\fR,
79 \fIsha224\fR, \fIsha256\fR, \fIsha384\fR, or \fIsha512\fR. Defaults to
82 .BI "\-f, \-\-outform " encoding
83 Encoding of the created certificate file. Either \fIder\fR (ASN.1 DER) or
84 \fIpem\fR (Base64 PEM), defaults to \fIder\fR.
88 To save repetitive typing, command line options can be stored in files.
91 contains the following contents:
94 --issuercert aacert.der --issuerkey aakey.der --digest sha256 --lifetime 4
97 Then the following command can be used to issue an attribute certificate based
98 on a holder certificate and the options above:
101 pki --acert --options acert.opt --in holder.der --group sales --group finance -f pem