Skip to content

Commit

Permalink
Move call to write_easyrsa_ssl_cnf_tmp() to secure_session()
Browse files Browse the repository at this point in the history
This is necessary for status reports read_db(), which recreates the
secure session for each record.

Signed-off-by: Richard T Bonhomme <[email protected]>
  • Loading branch information
TinCanTech committed Dec 8, 2023
1 parent 1756e7a commit dcb19b2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions easyrsa3/easyrsa
Original file line number Diff line number Diff line change
Expand Up @@ -717,6 +717,10 @@ secure_session() {
OPENSSL_CONF safe_ssl_cnf_tmp \
working_safe_ssl_conf
easyrsa_err_log="$secured_session/error.log"

# Verify or create: EASYRSA_SSL_CONF
write_easyrsa_ssl_cnf_tmp

verbose "\
secure_session: CREATED: $secured_session"
return
Expand Down Expand Up @@ -5281,9 +5285,6 @@ verify_working_env() {
secure_session || die "\
verify_working_env - secure-session failed"

# Verify or create: EASYRSA_SSL_CONF
write_easyrsa_ssl_cnf_tmp

# Verify selected algorithm and parameters
verify_algo_params

Expand Down

0 comments on commit dcb19b2

Please sign in to comment.