Skip to content

Commit

Permalink
easyrsa-tls.lib: renew, make sed regex for 'IP Address' greedy
Browse files Browse the repository at this point in the history
Signed-off-by: Richard T Bonhomme <[email protected]>
  • Loading branch information
TinCanTech committed Nov 2, 2024
1 parent 8b794db commit f81d43a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/easyrsa-tools.lib
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@ Cannot renew this certificate, a conflicting file exists:
grep -A 1 'X509v3 Subject Alternative Name' | \
sed -e s/'^\ *'// \
-e /'X509v3 Subject Alternative Name'/d \
-e s/'IP Address'/IP/
-e s/'IP Address'/IP/g
)" || die "renew - EASYRSA_SAN: easyrsa_openssl subshell"
verbose "renew: EASYRSA_SAN: ${EASYRSA_SAN}"

Expand Down

0 comments on commit f81d43a

Please sign in to comment.