diff --git a/dev/easyrsa-tools.lib b/dev/easyrsa-tools.lib index 2fe216d0..ba3e2e37 100644 --- a/dev/easyrsa-tools.lib +++ b/dev/easyrsa-tools.lib @@ -856,19 +856,6 @@ The inline credentials files: die "Renewal has failed to build a new certificate." fi - # inline it - # Over write existing because renew is successful - if inline_creds "$file_name_base" > "$inline_in" - then - notice "\ -Inline file created: -* $inline_in" - else - warn "\ -INCOMPLETE Inline file created: -* $inline_in" - fi - # Success messages notice "\ Renew was successful. diff --git a/easyrsa3/easyrsa b/easyrsa3/easyrsa index 28c2c21b..f39f270e 100755 --- a/easyrsa3/easyrsa +++ b/easyrsa3/easyrsa @@ -39,6 +39,7 @@ A list of commands is shown below: build-server-full [ cmd-opts ] build-serverClient-full [ cmd-opts ] inline + renew revoke [ cmd-opts ] expire revoke-expired [ cmd-opts ] @@ -239,6 +240,12 @@ Usage: easyrsa [ OPTIONS.. ] [ cmd-opts.. ]" to the 'pki/expired' directory. Allows an existing request to be signed again." + ;; + renew) + text=" +* renew + + Renew a certificate specified by " ;; gen-crl) text=" @@ -5532,7 +5539,7 @@ detect_host unset -v \ OPENSSL_CONF \ verify_ssl_lib_ok ssl_batch \ - secured_session mktemp_counter \ + secured_session \ working_safe_ssl_conf working_safe_org_conf \ alias_days text \ prohibit_no_pass \ @@ -5546,6 +5553,8 @@ unset -v \ # Used by build-ca->cleanup to restore prompt # after user interrupt when using manual password prompt_restore=0 + # Sequential temp-file counter + mktemp_counter=0 # Parse options while :; do