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

added option to set PKCS#12 alias name #544

Merged
merged 2 commits into from
Apr 25, 2022

Conversation

jdelker
Copy link
Contributor

@jdelker jdelker commented Apr 24, 2022

This change adds a new option "usealias" to the export-p12 command.
If set, it uses the $short_name as a friendly name for the certificate.

Motivation:
The friendly name aka alias of the certificate/key pair stored in the PKCS#12 container is often used by other software to uniqly select a particular entry. So far, any PKCS#12 container created by EasyRSA was simply unusable by such software.

This probably replaces #45.

@TinCanTech
Copy link
Collaborator

TinCanTech commented Apr 24, 2022

@jdelker Thank you, this looks good.

This probably replaces #45.

Agreed. Although #45 was right at the top of my list before #544 ;-)

There is only one doubt: Is usealias the right command option ?

Here's options:

  • fname
  • use-fname
  • friendly
  • use-friendly
  • use-friendly-name
  • usefn (I like this one)

You even describe the option as:

use <filename_base> as friendly name

@jdelker
Copy link
Contributor Author

jdelker commented Apr 24, 2022

@TinCanTech

There is only one doubt: Is usealias the right command option ?

I actually changed this back and forth, but haven't really been satisfied with any of them ;)
So any other would do also.
I go along with usefn just fine.

easyrsa3/easyrsa Outdated Show resolved Hide resolved
@TinCanTech TinCanTech added the Priority Acknowledged priority label Apr 24, 2022
@TinCanTech TinCanTech merged commit 51857fb into OpenVPN:master Apr 25, 2022
@TinCanTech TinCanTech added the Applicable to v3.0.x PRs welcome label Aug 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Applicable to v3.0.x PRs welcome enhancement Full-Approval Merge is imminent Priority Acknowledged priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants