linux:let_s_encrypt
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| linux:let_s_encrypt [2015/12/10 09:25] – [Weblinks] move | linux:let_s_encrypt [2020/02/05 10:48] (aktuell) – move | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| ====== Let's encrypt ====== | ====== Let's encrypt ====== | ||
| - | {{wp>Letsencrypt}} | + | ===== ACME-Client ===== |
| + | ==== Installieren ==== | ||
| + | |||
| + | <code> | ||
| + | git clone https:// | ||
| + | </ | ||
| + | ==== Update ==== | ||
| + | |||
| + | < | ||
| + | |||
| + | ==== Zertifikate abholen (nur speichern) ==== | ||
| + | |||
| + | Webserver vorher ggf. wg. Verifikation auf Port 80 stoppen und danach wieder starten. | ||
| + | |||
| + | < | ||
| + | cd letsencrypt | ||
| + | ./ | ||
| + | </ | ||
| + | |||
| + | ==== Zertifikate abholen und automatisch apache-conf erzeugen ==== | ||
| + | < | ||
| + | cd letsencrypt | ||
| + | ./ | ||
| + | </ | ||
| + | |||
| + | ==== Zertifikate im manual mode abholen ==== | ||
| + | |||
| + | < | ||
| + | ./ | ||
| + | </ | ||
| + | |||
| + | Dabei im Webroot anlegen (Beispiel); | ||
| + | < | ||
| + | mkdir -p .well-known/ | ||
| + | cd .well-known/ | ||
| + | echo -n " | ||
| + | </ | ||
| + | |||
| + | ==== Konfigurationsdatei benutzen ==== | ||
| + | |||
| + | < | ||
| + | |||
| + | cli.ini | ||
| + | <code bash> | ||
| + | # This is an example of the kind of things you can do in a configuration file. | ||
| + | # All flags used by the client can be configured here. Run Let's Encrypt with | ||
| + | # " | ||
| + | |||
| + | # Use a 4096 bit RSA key instead of 2048 | ||
| + | rsa-key-size = 4096 | ||
| + | |||
| + | # Uncomment and update to register with the specified e-mail address | ||
| + | email = me@localhost | ||
| + | |||
| + | # Uncomment and update to generate certificates for the specified | ||
| + | # domains. | ||
| + | domains = local.localdomain | ||
| + | |||
| + | # Uncomment to use a text interface instead of ncurses | ||
| + | # text = True | ||
| + | |||
| + | # Uncomment to use the standalone authenticator on port 443 | ||
| + | authenticator = standalone | ||
| + | standalone-supported-challenges = tls-sni-01 | ||
| + | |||
| + | # Uncomment to use the webroot authenticator. Replace webroot-path with the | ||
| + | # path to the public_html / webroot folder being served by your web server. | ||
| + | # authenticator = webroot | ||
| + | # webroot-path = / | ||
| + | |||
| + | </ | ||
| + | |||
| + | ==== Automatisch erneuern (kein Prompt) ==== | ||
| + | < | ||
| + | < | ||
| + | |||
| + | ===== Zertifikate einbinden (manuell) ===== | ||
| + | ==== nginx ==== | ||
| + | |||
| + | > ssl_certificate / | ||
| + | > ssl_certificate_key / | ||
| + | |||
| + | ==== apache ==== | ||
| + | |||
| + | > SSLEngine on | ||
| + | > SSLCertificateFile / | ||
| + | > SSLCertificateChainFile / | ||
| + | > SSLCertificateKeyFile / | ||
| + | |||
| + | Ab Apache 2.4.8: | ||
| + | |||
| + | > SSLEngine on | ||
| + | > SSLCertificateFile / | ||
| + | > SSLCertificateKeyFile / | ||
| + | |||
| + | ===== Siehe auch ===== | ||
| + | * [[SSL]] | ||
| + | * [[OpenSSL]] | ||
| ===== Weblinks ===== | ===== Weblinks ===== | ||
| Zeile 8: | Zeile 105: | ||
| * https:// | * https:// | ||
| * [[https:// | * [[https:// | ||
| + | * [[https:// | ||
| * [[https:// | * [[https:// | ||
linux/let_s_encrypt.1449739552.txt.gz · Zuletzt geändert: (Externe Bearbeitung)
