step certificate bundle

Name

step certificate bundle -- bundle a certificate with intermediate certificate(s) needed for certificate path validation

Usage

step certificate bundle <crt-file> <ca> <bundle-file>

Description

step certificate bundle bundles a certificate with any intermediates necessary to validate the certificate.

Positional arguments

crt-file The path to a leaf certificate to bundle with issuing certificate(s).

ca The path to the Certificate Authority issuing certificate.

bundle-file The path to write the bundle.

Options

-f, --force Force the overwrite of files without asking.

Exit codes

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

Examples

Bundle a certificate with the intermediate certificate authority (issuer):

$ step certificate bundle foo.crt intermediate-ca.crt foo-bundle.crt