# acme.sh

> A pure Unix shell script ACME client for SSL / TLS certificate automation

Source: https://talira.ai/catalog/acme-sh-hhfyzz1q
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [networking / tls / certificate automation](https://talira.ai/categories/networking/tls/certificate-automation)
- Platforms: linux, macos, windows, docker, cli[^3][^4]
- Licence: GPL-3.0-only[^3][^5]
- Pricing: Free and open source[^3][^4]
- Pricing notes: Free. Its default CA, ZeroSSL, issues free 90-day ACME certificates and sells paid plans for higher volumes and longer certificates; donations go to Neil Pang, not ZeroSSL.
- Free tier: yes[^3][^4]
- Self-hostable: yes[^3]
- Plugins: yes[^6][^7][^8]
- Backed by: [ZeroSSL](https://talira.ai/orgs/zerossl.md)
- Creator: Neil Pang (neilpang), the original independent maintainer

acme.sh is an ACME client written entirely in Unix shell (it runs under sh, bash or dash) that issues, renews and installs TLS certificates, with no Python to install and no need for root. It proves domain control in webroot, standalone HTTP, standalone TLS-ALPN, Apache or [nginx](https://talira.ai/catalog/nginx-nfjkekkp.md) mode, through DNS API hooks for about 180 DNS providers, in DNS alias mode, or with a single long-lived TXT record in the new DNS persist mode, and its cron job renews certificates every 30 days or earlier when the CA's ACME Renewal Information says so. Deploy hooks copy renewed certificates into [HAProxy](https://talira.ai/catalog/haproxy-19gvbtth.md), [Docker](https://talira.ai/catalog/docker-engine-9442r3nw.md) containers, [Proxmox VE](https://talira.ai/catalog/proxmox-ve-ebp6y34g.md), [TrueNAS](https://talira.ai/catalog/truenas-pt2m6pd4.md), Synology DSM, [RouterOS](https://talira.ai/catalog/mikrotik-routeros-xgq8q51v.md), [Vault](https://talira.ai/catalog/hashicorp-vault-ce2dgbje.md), [GitLab](https://talira.ai/catalog/gitlab-y85n5jcy.md) and dozens of other targets, and notify hooks report renewals and errors. ZeroSSL is its default CA, with [Let's Encrypt](https://talira.ai/catalog/let-s-encrypt-dqtcmges.md), Google Public CA, SSL.com, Actalis and any RFC 8555 CA selectable. Neil Pang is its original maintainer; ZeroSSL has sponsored and maintained it since 2021, and [OPNsense](https://talira.ai/catalog/opnsense-92mzt882.md), [pfSense](https://talira.ai/catalog/pfsense-p6sjtpac.md) and Proxmox use it for their certificate features.

## Links

- Website: https://acme.sh/
- GitHub: https://github.com/acmesh-official/acme.sh
- Docs: https://github.com/acmesh-official/acme.sh/wiki

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/acme.sh>[^1]
- [APT](https://talira.ai/catalog/apt-d7essv0z.md): <https://packages.debian.org/stable/acme.sh>[^2]

## Problems it solves

- issue and renew Let's Encrypt certificates on a router or NAS that has only a basic shell and no Python
- get TLS certificates without giving the renewal tool root access
- renew a wildcard certificate automatically through my DNS provider's API
- my DNS provider has no API but I still want certificate renewals to run unattended
- push a renewed certificate to my Synology, TrueNAS or Proxmox box automatically
- get an email or chat message when a certificate renewal fails
- get free certificates from a CA other than Let's Encrypt, like ZeroSSL or Google's public CA
- issue a certificate from a CSR generated on our appliance or HSM
- reload nginx or Apache after each certificate renewal without writing my own scripts
- automate TLS certificates on FreeBSD, Solaris or OpenWrt where the usual clients don't run
- prove domain control over port 443 with TLS-ALPN when port 80 is blocked
- run certificate renewals in a Docker container and deploy the certificates into other containers

## Features

- full ACME protocol client in POSIX shell, compatible with bash, dash and sh
- doesn't need root
- webroot, standalone (port 80), standalone TLS-ALPN (port 443), Apache and nginx modes
- DNS API hooks for about 180 DNS providers, including Cloudflare, Route 53, Google Cloud DNS, Azure DNS and DigitalOcean
- DNS alias mode and DNS manual mode
- DNS persist mode (draft-ietf-acme-dns-persist): one long-lived TXT record for every issuance and renewal
- SAN and wildcard certificates
- ECDSA P-256 (default), P-384 and P-521, and RSA 2048, 3072 and 4096 keys
- daily cron job renews every 30 days, or earlier when the CA's ACME Renewal Information (RFC 9773) says so
- ZeroSSL (default), Let's Encrypt, Google Public CA, SSL.com, Actalis and any RFC 8555 CA
- issue from an existing CSR
- deploy hooks for about 55 targets: HAProxy, Docker, Synology DSM, TrueNAS, Proxmox VE, RouterOS, Vault, GitLab, cPanel, FortiGate, UniFi and more
- notify hooks for renewal and error messages from the cron job
- self-upgrade with optional auto-upgrade
- release tags signed with the maintainer's SSH key from 3.1.6
- Docker image

## Limitations

- Doesn't configure Apache or nginx to use the certificate: you point the server at the files and give a reload command[^3]
- Doesn't run natively on Windows: it's tested there only under Cygwin, with curl, openssl and crontab[^3]

## Capabilities

- Has a command line tool: plan not known
- Takes plugins: plan not known

## Trust

Overall: 0.54 out of 1.
Signals: backing 0.70, extensibility 0.40.

- backed by ZeroSSL
- created by Neil Pang (neilpang), the original independent maintainer
- used by FreeBSD.org, Proxmox, pfSense, OPNsense
- has a plugin system

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [Certbot](https://talira.ai/catalog/certbot-d2gnzbtd.md): EFF's tool to obtain certs from Let's Encrypt and (optionally) auto-enable HTTPS on your server
- [cert-manager](https://talira.ai/catalog/cert-manager-cgn4m30b.md): Cloud native certificate management
- [lego](https://talira.ai/catalog/lego-ayx3gsam.md): ACME client and library for Let's Encrypt and other ACME CAs written in Go
- [dehydrated](https://talira.ai/catalog/dehydrated-h47d57dx.md): letsencrypt/acme client implemented as a shell-script – just add water
- [win-acme](https://talira.ai/catalog/win-acme-2cf9zgjq.md): A simple ACMEv2 client for Windows (for use with Let's Encrypt et al.)
- [Nginx UI](https://talira.ai/catalog/nginx-ui-hyxg8yyq.md): Yet another WebUI for Nginx

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 21 Nov 2026)
[^2]: https://deb.debian.org/debian/dists/stable/main/source/Sources.xz (checked 21 Nov 2026)
[^3]: https://github.com/acmesh-official/acme.sh/blob/master/README.md (checked 20 Nov 2026)
[^4]: https://zerossl.com/p/acme-sh (checked 20 Nov 2026)
[^5]: https://github.com/acmesh-official/acme.sh/blob/master/LICENSE.md (checked 20 Nov 2026)
[^6]: https://github.com/acmesh-official/acme.sh/wiki/dnsapi (checked 20 Nov 2026)
[^7]: https://github.com/acmesh-official/acme.sh/wiki/deployhooks (checked 20 Nov 2026)
[^8]: https://github.com/acmesh-official/acme.sh/wiki/notify (checked 20 Nov 2026)
