
Acme.sh
Automated SSL/TLS certificates via ACME, pure shell, no root needed.
Replaces Digicert Certcentral, Zerossl
Who it's for
Acme.sh's pure shell design means one script handles renewal across Ubuntu, Alpine, FreeBSD, and network appliances without installing different ACME clients on each OS family. DNS-01 automation across 180+ providers lets wildcard certificates renew without touching web server configs.
Your environment is homogeneous (all Ubuntu with Nginx) and Certbot's Nginx plugin already handles automatic deployment. The DNS alias and multi-CA features add overhead that is not useful when a single HTTP-01 workflow already works.
Because acme.sh needs no Python runtime, it fits Alpine-based Docker images and builds where installing a full Python stack is not acceptable. The script installs to ~/.acme.sh/ without root and creates a user cron job. It works inside a container alongside the application or as a sidecar renewal process.
You are using cert-manager in Kubernetes or Traefik's built-in certificate management. Those integrate more tightly with cluster ingress controllers and are better choices for Kubernetes-native deployments.
Organizations that previously bought individual certificates from DigiCert CertCentral or other commercial CAs can switch to automated free issuance via acme.sh. The tool handles issuance, renewal, and CA fallback from a single script and cron setup, eliminating per-certificate billing.
Your compliance or security policy requires OV or EV certificates. Acme.sh issues DV certificates only; extended validation and organization validation require manual identity verification that ACME does not automate.
Acme.sh supports ARI (ACME Renewal Information), where the CA signals the renewal window rather than the client using a fixed schedule. Combined with 6-hour cron checks, this means 47-day certificates renew ahead of expiry without operator intervention, even when CAs pull renewals early.
Your certificate infrastructure is managed by a cloud provider's certificate service such as AWS ACM or GCP Certificate Manager. Those handle short-lived certs natively and do not require acme.sh.
The problem
SSL/TLS certificates have to be renewed on a schedule, and that schedule is getting shorter. Certificate authorities are moving toward 47-day certificate lifetimes, which means teams renewing manually four times a year will soon need to renew eight times, then more. The first expired certificate on a production server tends to appear during a push, a holiday, or when everyone is focused on an incident. The harder problem is infrastructure breadth. Most teams have certificates across web servers, load balancers, internal services, and staging environments. Renewal tooling that works on Ubuntu with Nginx often fails on Alpine containers, routers, or appliances with minimal shell environments. Some environments cannot run Python. Others cannot grant root access to a renewal daemon. Every exception becomes a manual step, and manual steps miss deadlines.
How it works
Runs as a single shell script on any system with curl: Linux, macOS, FreeBSD, OpenBSD, Alpine containers, routers, and more. It requires no Python runtime, no Node.js, and no compiled binaries, making it deployable in environments where package installation is restricted.
Supports DNS-01 challenge automation for over 180 DNS providers, including Cloudflare, Route 53, Gandi, and Namecheap. The DNS alias mode lets you delegate challenges to a separate domain so your production registrar's API credentials stay off the renewal server.
Implements the ACME Renewal Information (ARI) extension, where the certificate authority signals the ideal renewal window rather than the client guessing. Combined with 6-hour cron checks, this handles 47-day certificate lifetimes without manual intervention.
Works with any RFC8555-compliant certificate authority: ZeroSSL (default), Let's Encrypt, SSL.com, Google Public CA, and more. You can configure a primary CA and a hot standby so a CA outage does not stop your renewal pipeline.
Installs and runs as any unprivileged user. The installer copies the script to ~/.acme.sh/ and sets up a user cron entry. Certbot typically requires elevated privileges for certificate installation; acme.sh does not.
Features
- Pure POSIX Shell, No Runtime Dependencies
- 180+ DNS Provider Integrations
- ARI-Aware Renewal Scheduling
- CA-Agnostic with Multi-CA Fallback
- No Root Access Required
How to install
Install acme.sh using the online installer; it copies the script to ~/.acme.sh/ and sets up cron for automatic renewal.
curl https://get.acme.sh | sh -s email=my@example.comRecommended for this setup
Strengths
- Runs on Minimal Systems Without a Runtime: Because acme.sh is pure POSIX shell with no Python, Go, or Node.js runtime, it works on minimal systems where package installation is restricted: Alpine containers, network appliances, embedded Linux, and BSD variants. Certbot requires a full Python environment; acme.sh needs only curl and a shell.
- 47,903 Stars and Active Maintenance: With 47,903 GitHub stars and a last commit in October 2026, acme.sh is the most widely adopted standalone ACME client. Used by Proxmox, pfSense, Discourse, and FreeBSD.org, it has a track record of compatibility across heterogeneous production infrastructure.
- Free Certificates, No Per-Domain Pricing: Acme.sh obtains free DV certificates from ZeroSSL, Let's Encrypt, and other CAs. Compared to DigiCert CertCentral, which charges per certificate or requires a paid subscription, acme.sh eliminates certificate costs for self-hosters entirely.
- DNS Alias Mode for Isolated Challenge Handling: DNS alias mode lets you complete the DNS-01 challenge through a secondary domain or account, keeping your production registrar's API credentials off the renewal server. This pattern is documented in the acme.sh wiki and is not supported by most other ACME clients.
Trade-offs
- GPL-3.0 License Has Copyleft Conditions: Acme.sh is licensed under GPL-3.0. Modifications distributed outside your organization require source code disclosure under the GPL's copyleft terms. For internal self-hosting and automation this poses no practical restriction. Teams building a managed hosting product that packages or distributes a modified acme.sh would need to comply with GPL-3.0 requirements.
- Shell Script Debugging Requires Shell Expertise: With 44 open issues and thousands of lines of shell handling 180+ DNS provider integrations, troubleshooting edge cases requires shell scripting familiarity. Teams accustomed to package-manager updates for security tooling will need to manage script updates via cron or manual pull from the repository.
- ZeroSSL Account Required for Default CA: The default CA is ZeroSSL, which requires a free ZeroSSL account for certificate issuance. Teams who prefer Let's Encrypt must set it as the default before issuing certificates using `acme.sh --set-default-ca --server letsencrypt`. This is a one-time step, but it is not obvious from the initial install.
Tech stack
FAQ
Yes. Acme.sh is GPL-3.0 licensed and free to run on your own infrastructure. The default CA, ZeroSSL, provides free 90-day DV certificates without a paid plan; Let's Encrypt is also supported and similarly free. The free tier covers most standard use cases; ZeroSSL paid plans add higher issuance volumes, support, and SLA guarantees.
No. Acme.sh installs to ~/.acme.sh/ and runs as any unprivileged user. It creates a user-level cron job for automatic renewal. Certificate deployment to system directories such as /etc/nginx/ may require a post-install hook with elevated access, but the ACME issuance and renewal process itself does not need root.
Both implement the ACME protocol for free certificate issuance, but differ in runtime and breadth. Acme.sh is a pure shell script with no dependencies beyond curl; Certbot requires Python. Acme.sh supports TLS-ALPN-01 validation and over 180 DNS providers vs Certbot's roughly 40. Acme.sh also supports multi-CA configurations with hot fallback; Certbot focuses primarily on Let's Encrypt.
Yes. The official Docker image is neilpang/acme.sh, available on Docker Hub. It can run as a standalone renewal container alongside application containers. The README includes a dedicated Docker guide for setup options including cron-within-container and external cron targeting the Docker container.
Acme.sh checks for renewal every 6 hours via cron by default. It also supports ARI (ACME Renewal Information), where the certificate authority signals the optimal renewal window rather than using a fixed schedule. This matters as certificate lifetimes move toward 47 days, where a once-daily check could miss narrow renewal windows.