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.
The path to a leaf certificate to bundle with issuing certificate(s).
The path to the Certificate Authority issusing certificate.
The path to write the bundle.
Force the overwrite of files without asking.
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