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 annotation to define the type of key #5

Open
maraino opened this issue Oct 2, 2019 · 2 comments
Open

Add annotation to define the type of key #5

maraino opened this issue Oct 2, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@maraino
Copy link
Collaborator

maraino commented Oct 2, 2019

What would you like to be added

Add a new annotation that allows the user to get an RSA/EdDSA instead of an ECDSA certificate.

Why this is needed

See #4 (comment)

@maraino maraino added the enhancement New feature or request label Oct 2, 2019
@JackSinclairT
Copy link

we could really use this annotation as we rely on PKCS12 certificates in our scenario. If we could specify that in an annotation, that would make things ALOT easier!

@maraino
Copy link
Collaborator Author

maraino commented May 20, 2021

@JackSinclairT With the current version, using custom images for the bootstrapper and renewer you can create certificates with different algorithms, and convert them to PKCS12.

For example, a new image with a bootstrapper.sh running step ca certificate with the flag --kty RSA will generate RSA keys (2048bits by default). And step certificate p12 site.p12 site.crt site.key can be added to convert the cert to PKCS12.

And a custom image of the renewer can be modified to convert the certificate to PKCS12 on each renewal:

step ca renew --daemon --exec "step certificate p12 site.p12 $CRT $KEY" $CRT $KEY

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants