-
Notifications
You must be signed in to change notification settings - Fork 256
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
A way to fetch the intermediate certificate #207
Comments
@dopey @CMCDragonkai |
But I want the intermediate cert of the step ca server not of some website.
…On 3 February 2020 12:11:48 GMT+11:00, Mariano Cano ***@***.***> wrote:
@dopey @CMCDragonkai `step certificate inspect --bundle <url>` returns
the server and intermediate certificate for a URL, an option to solve
this can be to add a --raw command to get the actual PEM.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#207 (comment)
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
|
When you request a certificate from That said, it does seem like we could provide a |
Relatedly, I think the |
There are plenty of workarounds, but this feature request is just about adding that command to the step CLI so it can be as easy to fetch the intermediate certificate. |
Is there a opportunity to add a second intermediate certificate to the bundle which is send if a certificate is requested? My current workaround is to use |
Hey @ki-pete! I think you're asking about something more akin to smallstep/certificates#244. Is that right? If that's the case please +1 or comment on that issue (community support helps us with roadmap / prioritization). If I've misunderstood, please explain the use case in a bit more detail - maybe we need a new issue / ticket for it. |
Hi @dopey, |
+1 was just googling to see if this command existed - would definitely love to see it implemented! |
+1 this came up when I was trying to configure a strongSwan VPN server. strongSwan needs the intermediate to be in a separate file from the leaf certificate. |
On $ curl -s --cacert $(step path)/certs/root_ca.crt https://localhost:8443/1.0/intermediates
{"crts":["-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----\n"]}
$ curl -s --cacert $(step path)/certs/root_ca.crt https://localhost:8443/1.0/intermediates.pem
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
|
added a note in the docs here: smallstep/docs#345 |
What would you like to be added
The
step root
command gets the root certificate. But what if you want the intermediate certificate? What if you want the entire chain. I would like a command that could fetch the whole path or some part of the path.Why this is needed
When code signing, the signature requires the path to the intermediate certificate. I'm using
openssl cms
command to do this atm:And then I realized that the above command requires the intermediate cert too, but it's not available.
The text was updated successfully, but these errors were encountered: