Skip to content

Commit

Permalink
export-p12: Add 'help' for 'friendlyName' - Usage: 'help friendly'
Browse files Browse the repository at this point in the history
Signed-off-by: Richard T Bonhomme <[email protected]>
  • Loading branch information
TinCanTech committed Jan 3, 2024
1 parent da9e594 commit b080246
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion easyrsa3/easyrsa
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,21 @@ cmd_help() {
(Equivalent to global option '--nopass|--no-pass')
* noca - Do not include the ca.crt file in the PKCS12 output
* nokey - Do not include the private key in the PKCS12 output
* usefn - Use <file_name_base> as friendly name"
* nofn - Do not set 'freindlyName'
For more, see: 'easyrsa help friendly'"
;;
friendly)
text_only=1
text="
* export-p12: Internal file label 'friendlyName'

The 'friendlyname' is always set to the file-name-base.

An alternate friendlyName can be configured by using:
* Global option '--usefn=<friendlyName>'

Fallback to previous behavior can be configured by using:
* Command option 'nofn' ('friendlyname' will not be set)"
;;
export-p7)
text="
Expand Down Expand Up @@ -566,10 +580,14 @@ Certificate & Request options: (these impact cert/req field values)

--subca-len=# : Path length of signed intermediate CA certificates
--copy-ext : Copy included request X509 extensions (namely subjAltName)

--san|--subject-alt-name=<subjectAltName>
: Add a subjectAltName.
For more info and syntax, see: 'easyrsa help altname'

--usefn=NAME : export-p12, set 'friendlyName' to NAME
For more, see: 'easyrsa help friendly'

Distinguished Name mode:

--dn-mode=MODE : Distinguished Name mode to use 'cn_only' (Default) or 'org'
Expand Down

0 comments on commit b080246

Please sign in to comment.