Skip to content

download intermediate certificate #1023

Answered by maraino
conloos asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @conloos, we don't have an endpoint that returns the intermediate certificate, but this is available in any certificate returned by step-ca, and it's even in the response of any request.

One easy way to get it is by inspecting the certificate of your CA:

$ step certificate inspect --bundle --format pem https://my.ca
-----BEGIN CERTIFICATE-----
MII... THIS IS THE SERVER CERTIFICATE
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
MII... THIS IS THE INTERMEDIATE CERTIFICATE
-----END CERTIFICATE-----

This commands works for me because I have my root in my system keystore, you also have it, so it should work for you too, changing the CA endpoint. But if you don't have it, you can pass…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tashian
Comment options

Answer selected by tashian
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants