deb/apache-letsencrypt.bash
changeset 33 7b602d7f98cd
parent 31 461eed8e7463
child 34 68975e7d5237
equal deleted inserted replaced
32:921746b84574 33:7b602d7f98cd
     2 
     2 
     3 mkdir /srv/www/letsencrypt
     3 mkdir /srv/www/letsencrypt
     4 
     4 
     5 # service apache2 stop
     5 # service apache2 stop
     6 # --standalone
     6 # --standalone
       
     7 
       
     8 # Command requires Apache or Lighttpd running and aliasing (no need to stop Apache!):
       
     9 #   Alias "/.well-known/acme-challenge/" "/srv/www/letsencrypt/.well-known/acme-challenge/"
     7 certbot certonly --webroot \
    10 certbot certonly --webroot \
     8  --agree-tos --non-interactive \
    11  --agree-tos --non-interactive \
     9  -m gavenkoa@gmail.com \
    12  -m gavenkoa@gmail.com \
    10  -w /srv/www/letsencrypt \
    13  -w /srv/www/letsencrypt \
    11  --cert-name defun.work \
    14  --cert-name defun.work \