Skip to content

Commit

Permalink
Minor Typo Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
BoxingOctopus authored and rcritten committed Jan 20, 2023
1 parent ded36a1 commit b2c4a4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion renew-le.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ rm -f "$WORKDIR"/httpd-csr.*
# generate CSR
OPENSSL_PASSWD_FILE="/var/lib/ipa/passwds/$HOSTNAME-443-RSA"
[ -f "$OPENSSL_PASSWD_FILE" ] && OPENSSL_EXTRA_ARGS="-passin file:$OPENSSL_PASSWD_FILE" || OPENSSL_EXTRA_ARGS=""
openssl req -new -sha256 -config "$WORKDIR/ipa-httpd.cnf" -key /var/lib/ipa/private/httpd.key -out "$WORKDIR/httpd-csr.der" $OPENSSL_EXTRA_ARGS
openssl req -new -sha256 -config "$WORKDIR/ipa-httpd.cnf" -key /var/lib/ipa/private/httpd.key -out "$WORKDIR/httpd-csr.der" $OPENSSL_EXTRA_ARGS

# httpd process prevents letsencrypt from working, stop it
if ! command -v service >/dev/null 2>&1; then
Expand Down

0 comments on commit b2c4a4c

Please sign in to comment.