-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change is required to allow the correct confirmation details to …
…be presented, for commands: sign-req, revoke, renew and revoke-renewed. This change also removes unnecessarily nested sub-shells. Refactor display_dn(): To separate SAN from DN, 'display_dn()' must not include SAN details. SAN is now handled individually, by the Easy-RSA command in use. This also allows global option '--san' to take priority over a SAN created in the request [CSR]. Remove 'display_san()', replaced by options '--san' and '--copy-ext'. The SAN to be used now adheres to the following order: * Global option '--san' always takes priority. * Global option '--copy-ext' will copy request extensions. Only SAN extension is supported by Easy-RSA. Other extensions can be set externally via env-var EASYRSA_EXTRA_EXTS. * If '--san' and '--copy-ext' are not used then NO extensions will be used or copied from the request. * This effects use of commands: sign-req and renew, only. The majority of this change is to present the correct confirmation details to commands: sign-req, revoke, renew and revoke-renewed. Which means that behavior is mostly unchanged. The other change is to allow multiple use of global option '--san'. Example: '--san=DNS:example.net --san=IP:10.0.0.1' Equivalent to: '--san=DNS:example.net,IP:10.0.0.1' Both versions of '--san' above can be used, even at the same time. Signed-off-by: Richard T Bonhomme <[email protected]>
- Loading branch information
1 parent
f6a6e75
commit ac02521
Showing
1 changed file
with
136 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters