NAME

step certificate sign – sign a certificate signing request (CSR)

USAGE

step certificate sign csr_file crt_file key_file [–bundle]

DESCRIPTION

step certificate sign generates a signed certificate from a certificate signing request (CSR).

POSITIONAL ARGUMENTS

csr_file
The path to a certificate signing request (CSR) to be signed.
crt_file
The path to an issuing certificate.
key_file
The path to a private key for signing the CSR.

OPTIONS

–bundle
Bundle the new leaf certificate with the signing certificate.

EXIT CODES

This command returns 0 on success and >0 if any error occurs.

EXAMPLES

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