From 0cc41a736692348d1f95ba1fc52d69f133464370 Mon Sep 17 00:00:00 2001 From: Richard T Bonhomme Date: Thu, 7 Dec 2023 02:13:35 +0000 Subject: [PATCH] Remove 'rebuild' command interface and help only Signed-off-by: Richard T Bonhomme --- easyrsa3/easyrsa | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/easyrsa3/easyrsa b/easyrsa3/easyrsa index 4d8fe89cc..a526a695d 100755 --- a/easyrsa3/easyrsa +++ b/easyrsa3/easyrsa @@ -41,7 +41,6 @@ A list of commands is shown below: renew revoke-renewed [ cmd-opts ] rewind-renew - rebuild [ cmd-opts ] gen-crl update-db show-req [ cmd-opts ] @@ -218,16 +217,6 @@ cmd_help() { cessationOfOperation certificateHold" ;; - rebuild) - text=" -* rebuild [ cmd-opts ] - - Rebuild a certificate and key specified by " - - opts=" - * nopass - Do not encrypt the private key (Default: encrypted) - (Equivalent to global option '--nopass|--no-pass')" - ;; renew) text=" * renew @@ -5510,7 +5499,7 @@ Use of --startdate requires use of --enddate." # --enddate may over-rule EASYRSA_CERT_EXPIRE if [ "$EASYRSA_END_DATE" ]; then case "$cmd" in - sign-req|build-*-full|renew|rebuild) + sign-req|build-*-full|renew) # User specified alias_days IS over-ruled if [ "$alias_days" ]; then warn "\ @@ -7254,12 +7243,6 @@ case "$cmd" in verify_working_env rewind_renew "$@" ;; - rebuild) - verify_working_env - [ -z "$alias_days" ] || \ - export EASYRSA_CERT_EXPIRE="$alias_days" - rebuild "$@" - ;; import-req) verify_working_env import_req "$@"