1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 10:42:07 +02:00
tldr/pages/common/acme.sh.md
Reinhart Previano Koentjoro d6d4561c17
pages*: fix documentation mistakes (#11641)
* a2ping: minor fixes

* ab: fix mnemonics

* ab: fix mnemonics

* ab: fix mnemonics

* abduco: add mnemonics

* accelerate: use Hugging Face as a trademark

* ack: highlight grep as a command

* acme.sh: highlight certbot as command

* act: add mnemonics

* ag: highlight ack as command

* age-keygen: add Oxford comma

* linux/shutdown: add mnemonics

* airdecap-ng: use Oxford comma

* alex: use standard path name template
2023-12-03 19:59:57 +07:00

1.2 KiB

acme.sh

Shell script implementing ACME client protocol, an alternative to certbot. See also acme.sh dns. More information: https://github.com/acmesh-official/acme.sh.

  • Issue a certificate using webroot mode:

acme.sh --issue --domain {{example.com}} --webroot {{/path/to/webroot}}

  • Issue a certificate for multiple domains using standalone mode using port 80:

acme.sh --issue --standalone --domain {{example.com}} --domain {{www.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 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"}}