Browse Source

delete previous cert if it already exists before invoking evoacme

pull/63/head
Nicolas Roman 1 year ago
parent
commit
c5c1648a58
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      scripts/web-add.sh

+ 3
- 0
scripts/web-add.sh View File

@ -907,6 +907,9 @@ op_generatesslcertificate() {
test_mode="$2"
if [ "$test_mode" = "false" ]; then
if [ -L /etc/letsencrypt/$vhost/live ]; then
rm /etc/letsencrypt/$vhost/live
fi
evoacme "$vhost"
else
DRY_RUN=1 evoacme "$vhost"


Loading…
Cancel
Save