step certificate bundle


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


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


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.


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

Exit codes

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


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

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