Skip to content
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

Add a command to download or print a certificate #77

Closed
maraino opened this issue Feb 14, 2019 · 2 comments
Closed

Add a command to download or print a certificate #77

maraino opened this issue Feb 14, 2019 · 2 comments

Comments

@maraino
Copy link
Collaborator

maraino commented Feb 14, 2019

Description

Add a command to print or download a certificate. Sometimes is useful to get the PEM version of a certificate, we should add a command like

# Just the cert
step certificate download https://smallstep.com > smallstep.pem
# Bundled with intermediate
step certificate download --bundle https://smallstep.com > smallstep.pem
@maraino
Copy link
Collaborator Author

maraino commented Feb 21, 2019

Consider naming the command as step certificate get
We should verify the certificate before downloading it by default, but we should support an --insecure flag to disable that feature.

@tommy-56
Copy link
Contributor

There is a --format pem option to step certificate inspect that implements this behavior.
Example:
step certificate inspect --format pem https://name.com

@hslatman hslatman removed this from the Backlog milestone Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants