From f1e8d7e06a3cabe5d1505f84c8b1f93deb120fe7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Babi=C4=8D?= Date: Tue, 27 Apr 2021 18:20:54 +0200 Subject: [PATCH] acme.sh: add page (#5823) * add page: acme.sh * fix 825645081 https://github.com/tldr-pages/tldr/pull/5823#issuecomment-825645081 * replace domain.tld with example.com * Update pages/common/acme.sh.md Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com> * Update pages/common/acme.sh.md Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com> * convert examples to more specific ones * reword example description * Update pages/common/acme.sh.md Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com> Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com> Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com> --- pages/common/acme.sh.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pages/common/acme.sh.md diff --git a/pages/common/acme.sh.md b/pages/common/acme.sh.md new file mode 100644 index 0000000000..be0e0f7282 --- /dev/null +++ b/pages/common/acme.sh.md @@ -0,0 +1,36 @@ +# acme.sh + +> Shell script implementing ACME client protocol, an alternative to certbot. +> More information: . + +- Issue a certificate using webroot mode: + +`acme.sh --issue --domain {{example.com}} --webroot {{/path/to/webroot}}` + +- Issue a certificate using standalone mode using port 80: + +`acme.sh --issue --standalone --domain {{example.com}}` + +- Issue a certificate using standalone TLS mode using port 443: + +`acme.sh --issue --alpn --domain {{example.com}}` + +- Issue a certificate using a working Nginx configuration: + +`acme.sh --issue --nginx --domain {{example.com}}` + +- Issue a certificate using a working Apache configuration: + +`acme.sh --issue --apache --domain {{example.com}}` + +- Issue a wildcard (\*) certificate using a manual DNS mode: + +`acme.sh --issue --dns --domain {{example.com}}` + +- Issue a certificate using an automatic DNS API mode: + +`acme.sh --issue --dns {{dns_cf}} --domain {{example.com}}` + +- Install certificate files into the specified locations (useful for automatic certificate renewal): + +`acme.sh --install-cert -d {{example.com}} --key-file {{/path/to/example.com.key}} --fullchain-file {{/path/to/example.com.cer}} --reloadcmd {{"systemctl force-reload nginx"}}`