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

Is there a way to generate a CSR from an existing Private Key? #311

Open
christian-posta opened this issue Jul 7, 2020 · 3 comments
Open

Is there a way to generate a CSR from an existing Private Key? #311

christian-posta opened this issue Jul 7, 2020 · 3 comments

Comments

@christian-posta
Copy link

@christian-posta christian-posta commented Jul 7, 2020

Not seeing how I'd be able to do that. the step certificate create -csr seems to expect to create a new private key

@sourishkrout sourishkrout transferred this issue from smallstep/certificates Jul 7, 2020
@dopey
Copy link
Contributor

@dopey dopey commented Jul 7, 2020

Thanks for opening an issue! Yep, this is definitely something that's currently missing. We'll need to add it.

Do you mind giving a bit of insight into the use case? You have keys you'd like to use, that much I understand. But is that a requirement from some other software? Is it because step isn't able to generate the exact keys you want to use?

@christian-posta
Copy link
Author

@christian-posta christian-posta commented Jul 7, 2020

For sure! I was investigating options for cross-signing intermediate CAs and just exploring the tooling you all have created. It's been a pleasure to work with btw!

@dopey
Copy link
Contributor

@dopey dopey commented Jul 7, 2020

Hey, that's very kind, thanks!

Currently this is on our mid-term roadmap. But if it becomes a blocker for you, please let us know and we can see about fast-tracking it.

And, if anyone finds this and is looking for ways to contribute, we definitely encourage PRs from the community and are happy to help with guidance. There are a number of commands in the cli that take pub and priv key arguments, so there are plenty of examples to work from.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.