acme.sh Command Examples

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

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

acme.sh --issue --standalone --domain {{example.com}} --domain {{www.example.com}}

acme.sh --issue --alpn --domain {{example.com}}

acme.sh --issue --nginx --domain {{example.com}}

acme.sh --issue --apache --domain {{example.com}}

acme.sh --issue --dns {{dns_cf}} --domain {{*.example.com}}

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"}}