Last active
September 2, 2019 10:05
-
-
Save DevertNet/4ca1780d4d30713eda29567ba6c57470 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Im Root-Verzeichnis (/home/root) folgendes ausführen: | |
git clone https://github.com/letsencrypt/letsencrypt.git | |
cd letsencrypt | |
./letsencrypt-auto -h | |
service nginx stop | |
./letsencrypt-auto certonly --standalone -d www.beispiel.de -d beispiel.de | |
service nginx start | |
2. Keys werden hier abgelegt: | |
/etc/letsencrypt/live/www.beispiel.de | |
3. In der nginx config: | |
ssl_certificate /etc/letsencrypt/live/www.beispiel.de/fullchain.pem; | |
ssl_certificate_key /etc/letsencrypt/live/www.beispiel.de/privkey.pem; | |
# Erweitern | |
root@hagawelt ~ # ls /etc/letsencrypt/live/ | |
hagawelt.web.mageprofis.de README | |
root@hagawelt ~ # certbot certificates | |
root@hagawelt ~ # certbot certonly --standalone --expand --cert-name hagawelt.web.mageprofis.de -d sw6.hagawelt.web.mageprofis.de | |
Es muss nur der Hauptname angegeben werden und die neue Domain. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment