LetsEncrypt: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
K |
|||
Zeile 1: | Zeile 1: | ||
[[Kategorie:Sicherheit]] | [[Kategorie:Sicherheit]] | ||
= Installation = | = Installation = | ||
== Debian 8 == | |||
<pre> | <pre>echo 'deb http://ftp.debian.org/debian jessie-backports main' | sudo tee /etc/apt/sources.list.d/backports.list | ||
echo 'deb http://ftp.debian.org/debian jessie-backports main' | sudo tee /etc/apt/sources.list.d/backports.list | |||
apt-get update | apt-get update | ||
apt-get install certbot -t jessie-backports | apt-get install certbot -t jessie-backports | ||
</pre> | |||
== nginx-Konfiguration == | |||
* /etc/nginx/sites-enabled/default | |||
<pre>location ~ /.well-known { | |||
allow all; | |||
} | |||
</pre> | |||
<pre>systemctl restart nginx | |||
URL=wiki.hamatoma.de | |||
ROOT=/var/www/html | |||
certbot certonly -a webroot --webroot-path=$ROOT -d $URL -d www.$URL | |||
</pre> | </pre> |
Version vom 21. Mai 2017, 04:09 Uhr
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