Skip to content

Commit

Permalink
letsencrypt: force renewal by default
Browse files Browse the repository at this point in the history
  • Loading branch information
nachoparker committed Apr 30, 2019
1 parent b3c7d13 commit 01cd421
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/ncp/NETWORKING/letsencrypt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ configure()
sed -i "/DocumentRoot/aServerName $DOMAIN" $vhostcfg

# Do it
$letsencrypt certonly -n --no-self-upgrade --webroot -w $ncdir --hsts --agree-tos -m $EMAIL -d $DOMAIN && {
$letsencrypt certonly -n --force-renew --no-self-upgrade --webroot -w $ncdir --hsts --agree-tos -m $EMAIL -d $DOMAIN && {

# Set up auto-renewal
cat > /etc/cron.weekly/letsencrypt-ncp <<EOF
Expand Down

0 comments on commit 01cd421

Please sign in to comment.