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

Adds export-p1 command #341

Merged
merged 3 commits into from Apr 25, 2022
Merged

Adds export-p1 command #341

merged 3 commits into from Apr 25, 2022

Conversation

nkakouros
Copy link
Contributor

Similar to #340 .

EasyRSA is useful to handle cert/key generation. But different software expects the key in different formats.

A trouble I have with EasyRSA is that the build-ca command generates a private key for the CA in PKCS#1 format. However, the gen-req command generates keys in PKCS#8 format.

This is confusing, since the "consumer" of the keys needs to realize the difference and process the keys differently.

This PR adds the export-p1 command that will convert keys to the PKCS#1 format.

@TinCanTech TinCanTech added PKCS conflicts Conflicts with current labels Mar 31, 2022
@nkakouros
Copy link
Contributor Author

This PR is ready to merge. It also fixes the help text introduced in #340.

Copy link
Collaborator

@TinCanTech TinCanTech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would like to know how old your copy of easyrsa is because there is no export-p1)

Forget it .. I realise what is happening now ;-)

@TinCanTech TinCanTech added enhancement initial-approval and removed conflicts Conflicts with current labels Apr 25, 2022
@nkakouros
Copy link
Contributor Author

I fixed the conflicts.

@TinCanTech
Copy link
Collaborator

Yes, thanks.

@TinCanTech TinCanTech merged commit 30954cf into OpenVPN:master Apr 25, 2022
@nkakouros nkakouros deleted the pkcs1 branch April 25, 2022 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants