pki --req
Create a PKCS#10 certificate request
- Provided by: strongswan-pki (Version: 5.9.5-2ubuntu2.8)
- Source: strongswan
- Report a bug
Create a PKCS#10 certificate request
pki --req |
[--in file|--keyid hex] [--type type] --dn distinguished-name [--san subjectAltName] [--password password] [--digest digest] [--rsa-padding padding] [--outform encoding] [--debug level] |
pki --req |
--options file |
pki --req |
-h | --help |
This sub-command of pki(1) is used to create a PKCS#10 certificate request.
Generate a certificate request for an RSA key, with a subjectAltName extension:
pki --req --in key.der --dn "C=CH, O=strongSwan, CN=moon" \
--san moon@strongswan.org > req.der
Generate a certificate request for an ECDSA key and a different digest:
pki --req --in key.der --type ecdsa --digest sha256 \
--dn "C=CH, O=strongSwan, CN=carol" > req.der