Skip to content

Instantly share code, notes, and snippets.

@kmvan
Last active October 21, 2026 15:35
Show Gist options
  • Select an option

  • Save kmvan/b6c8c9c5a8ab04f4ad139d97c19d77ae to your computer and use it in GitHub Desktop.

Select an option

Save kmvan/b6c8c9c5a8ab04f4ad139d97c19d77ae to your computer and use it in GitHub Desktop.
acme.sh
curl https://get.acme.sh | sh -s email=my@example.com

acme.sh --upgrade --auto-upgrade

webroot

~/.acme.sh/acme.sh --issue -d example.com -d www.example.com --webroot /var/www/html

nginx

~/.acme.sh/acme.sh --install-cert -d example.com \
--key-file       /etc/nginx/ssl/example.com.key  \
--fullchain-file /etc/nginx/ssl/example.com.cer \
--reloadcmd      "service nginx force-reload"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment