step certificate sign – sign a certificate signing request (CSR)
step certificate sign
step certificate sign generates a signed certificate from a certificate signing request (CSR).
- The path to a certificate signing request (CSR) to be signed.
- The path to an issuing certificate.
- The path to a private key for signing the CSR.
- Bundle the new leaf certificate with the signing certificate.
This command returns 0 on success and >0 if any error occurs.
Sign a certificate signing request:
$ step certificate sign ./certificate-signing-request.csr \ ./issuer-certificate.crt ./issuer-private-key.priv
Sign a certificate signing request and bundle the new certificate with the issuer:
$ step certificate sign ./certificate-signing-request.csr \ ./issuer-certificate.crt ./issuer-private-key.priv --bundle