LetsEncrypt

Aus Info-Theke
Zur Navigation springen Zur Suche springen

Installation

Debian 8

echo 'deb http://ftp.debian.org/debian jessie-backports main' | sudo tee /etc/apt/sources.list.d/backports.list
apt-get update
apt-get install certbot -t jessie-backports

nginx-Konfiguration

  • /etc/nginx/sites-enabled/default
location ~ /.well-known {
                allow all;
        }
systemctl restart nginx
URL=wiki.hamatoma.de
ROOT=/var/www/html
certbot certonly -a webroot --webroot-path=$ROOT -d $URL -d www.$URL