Skip to content

add intermediate-file flag to separate leaf and intermediate certs #1438

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aliamerj
Copy link

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!

@github-actions github-actions bot added the needs triage Waiting for discussion / prioritization by team label Jun 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage Waiting for discussion / prioritization by team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add an option to step ca certificate to output the leaf and intermediate chain in separate files.
1 participant