Request Wildcard SSL Certificates with acme.sh
162 words
1 minute
Request Wildcard SSL Certificates with acme.sh
Request Wildcard SSL Certificates with acme.sh
Let’s Encrypt provides free wildcard certificates. Combined with the acme.sh script, you can fully automate issuance and renewal — perfect for personal sites.
Install acme.sh
Issue a Certificate (Cloudflare DNS API)
1. Get Your Cloudflare API Key
Log in to Cloudflare Dashboard, go to API Tokens, and get your Global API Key.
2. Configure the API Key
export CF_Key="your-cloudflare-api-key"export CF_Email="your-cloudflare-email"3. Issue the Wildcard Certificate
# Replace with your domain./acme.sh --issue --dns dns_cf -d example.com -d *.example.com4. Verification
The certificate will be installed to ~/.acme.sh/. Check the auto-renewal cron job:
crontab -lacme.sh automatically adds a scheduled task for renewal before expiration.
Working with Nginx Proxy Manager
Copy the generated certificate files to NPM’s directory, or upload them manually through NPM’s web interface.
Notes
- Alibaba Cloud DNS, Tencent Cloud DNS, etc., also have their own DNS API scripts available in the acme.sh official repository
- Wildcard certificates only support DNS verification, not HTTP
- Certificates are valid for 90 days; acme.sh handles renewal automatically
References
Support & Share
If this article helped you, please share or support!
Request Wildcard SSL Certificates with acme.sh
https://blog.zinzin.cc/posts/acme-wildcard-ssl-en/Related PostsSmart
1
Docker Pull Stuck on Windows: A Proxy Configuration Horror Story
DevOpsTUN mode won't save your Docker daemon, the real config lives in settings-store.json, and dead mirror registries will eat your afternoon. A first-hand account.
2
Running frpc in Docker on Windows: Every Pitfall I Hit
DevOpsA sequel to the image-pull story: the frp tunnel itself — where proxies are actually defined, a hardcoded config path, host.docker.internal resolving to IPv6, Docker Desktop's proxy hijacking port 80, and a cloud firewall that nearly ended me.
3
Deploy a Nacos Cluster with Docker
DevOpsA complete guide to deploying a 3-node Nacos 2.2 cluster with Docker, using MySQL for persistence and Nginx for load balancing.
4
Docker Image and Container Export/Import Commands Explained
DevOpsClarifying the differences between docker commit/export/import/save/load and when to use each one.
5
Server Initialization Guide
DevOpsA checklist for securing and setting up a new Linux server, including SSH hardening, Docker, NPM, and more.
Random PostsRandom













