Skip to content

Commit

Permalink
Create newline to ensure [SAN] section can be parsed
Browse files Browse the repository at this point in the history
  • Loading branch information
MRigal committed Feb 4, 2023
1 parent eb5cb8e commit d0fee87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion getssl
Original file line number Diff line number Diff line change
Expand Up @@ -1156,7 +1156,7 @@ create_csr() { # create a csr using a given key (if it doesn't already exist)
# create a temporary config file, for portability.
tmp_conf=$(mktemp 2>/dev/null || mktemp -t getssl) || error_exit "mktemp failed"
cat "$SSLCONF" > "$tmp_conf"
printf "[SAN]\n%s" "$SANLIST" >> "$tmp_conf"
printf "\n[SAN]\n%s" "$SANLIST" >> "$tmp_conf"
# add OCSP Must-Staple to the domain csr
# if openssl version >= 1.1.0 one can also use "tlsfeature = status_request"
if [[ "$OCSP_MUST_STAPLE" == "true" ]]; then
Expand Down

0 comments on commit d0fee87

Please sign in to comment.