cli icon indicating copy to clipboard operation
cli copied to clipboard

Add intermediate-file flag to separate leaf and intermediate certs

Open aliamerj opened this issue 7 months ago • 0 comments

Name of feature:

Add --intermediate-file flag to separate leaf and intermediate certs

Pain or issue this feature alleviates: #1360

Closes: #1360

Why is this important to the project (if not answered above):

Some applications require leaf and intermediate certificates in separate files, but step ca certificate currently outputs them concatenated together.

Solution
  • Added new --intermediate-file flag

  • When specified: • crt-file contains only the leaf certificate • intermediate-file contains the chain

  • Maintains backward compatibility when flag isn't used

Is there documentation on how to use this feature? If so, where?

Example:
step ca certificate [email protected] leaf.crt leaf.key --intermediate-file chain.crt

In what environments or workflows is this feature supported?

In what environments or workflows is this feature explicitly NOT supported (if any)?

Supporting links/other PRs/issues:

💔Thank you!

aliamerj avatar Jun 11 '25 07:06 aliamerj