Browse Source

Add comment into letsencrypt-gencert script clarifying why we stop Apache.

Carl Meyer 8 years ago
parent
commit
579afa68d3
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      roles/common/files/letsencrypt-gencert

+ 3
- 0
roles/common/files/letsencrypt-gencert View File

5
     d="$d,$i.$1";
5
     d="$d,$i.$1";
6
   fi
6
   fi
7
 done
7
 done
8
+# We are using the "standalone" letsencrypt plugin, which runs its own
9
+# webserver, so we need to temporarily free up the HTTP(S) ports by stopping
10
+# our own Apache.
8
 service apache2 stop
11
 service apache2 stop
9
 /root/letsencrypt/letsencrypt-auto certonly -c /etc/letsencrypt/cli.conf --domains $d
12
 /root/letsencrypt/letsencrypt-auto certonly -c /etc/letsencrypt/cli.conf --domains $d
10
 service apache2 start
13
 service apache2 start

Loading…
Cancel
Save