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 generate self-signed certificates from a private signing key #82

Open
paulhowardarm opened this issue Jul 5, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers medium Effort label

Comments

@paulhowardarm
Copy link
Contributor

Summary

Add a new command to the tool that can output a complete, self-signed X509 certificate based on a private signing key.

Details

The following recent PR introduced the create-csr command, which can create a Certificate Signing Request (CSR) from a private key: #68

The tool uses the rcgen crate to make the CSR.

This crate is also capable of making complete self-signed certs as well as CSRs, and it might be handy to also add this facility to parsec-tool.

Much of the implementation of the existing create-csr command could possibly be copied or refactored in order to output a self-signed cert instead of a CSR. Some of the command-line inputs would also be the same, although there would also be the need for additional inputs because certs have more fields than CSRs have.

Automated tests would also be required in the CLI test script.

@paulhowardarm paulhowardarm added enhancement New feature or request good first issue Good for newcomers medium Effort label labels Jul 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers medium Effort label
Projects
None yet
Development

No branches or pull requests

1 participant