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

Bugfix-v321-01 #1229

Merged
merged 3 commits into from
Sep 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions dev/easyrsa-tools.lib
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
11 changes: 10 additions & 1 deletion easyrsa3/easyrsa
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ A list of commands is shown below:
build-server-full <file_name_base> [ cmd-opts ]
build-serverClient-full <file_name_base> [ cmd-opts ]
inline <file_name_base>
renew <file_name_base>
revoke <file_name_base> [ cmd-opts ]
expire <file_name_base>
revoke-expired <file_name_base> [ cmd-opts ]
Expand Down Expand Up @@ -239,6 +240,12 @@ Usage: easyrsa [ OPTIONS.. ] <COMMAND> <TARGET> [ cmd-opts.. ]"
to the 'pki/expired' directory.

Allows an existing request to be signed again."
;;
renew)
text="
* renew <file_name_base>

Renew a certificate specified by <file_name_base>"
;;
gen-crl)
text="
Expand Down Expand Up @@ -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 \
Expand All @@ -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
Expand Down