Бесплатный HTTPS-сертификат

Бесплатные сертификаты Let's Encrypt / ZeroSSL и руководство по ACME-клиентам

Обновлено: 2026-11-03 #SSL-сертификат #Сеть
★ В избранное
本页为免费 HTTPS 证书申请向导:通过 Let's Encrypt / ZeroSSL 等 CA 免费签发域名证书,全程在您自己的服务器上完成,本站不代为签发。
This is a guide to obtaining free HTTPS certificates from Let's Encrypt / ZeroSSL. Certificates are issued on your own server via ACME; this site does not issue them.
申请步骤 / Steps
  1. 拥有一个域名,并将 DNS 解析到您的服务器。
  2. 在服务器上安装 ACME 客户端(推荐 acme.sh 或 Certbot)。
  3. 生成私钥与证书签名请求(CSR,客户端自动完成)。
  4. 完成域名所有权验证:HTTP-01(在 Web 根目录放置验证文件)或 DNS-01(添加 TXT 记录)。
  5. 下载证书并部署到 Nginx / Apache,开启自动续期(证书有效期 90 天)。
  1. Own a domain and point its DNS records to your server.
  2. Install an ACME client on your server (acme.sh or Certbot recommended).
  3. Generate a private key and CSR (handled automatically by the client).
  4. Complete domain validation: HTTP-01 (serve a file from your web root) or DNS-01 (add a TXT record).
  5. Download and deploy the certificate to Nginx / Apache and enable auto-renewal (certificates are valid for 90 days).
acme.sh(推荐 / Recommended)

安装并申请证书 / Install and issue a certificate:

curl https://get.acme.sh | sh
~/.acme.sh/acme.sh --issue -d example.com -d www.example.com --webroot /var/www/html

部署证书到 Nginx 并自动续期 / Install cert and enable auto-renewal:

~/.acme.sh/acme.sh --install-cert -d example.com \
  --key-file /etc/nginx/ssl/example.com.key \
  --fullchain-file /etc/nginx/ssl/example.com.crt \
  --reloadcmd "systemctl reload nginx"

使用 DNS-01 验证(可签泛域名)/ DNS-01 validation (wildcard supported):

~/.acme.sh/acme.sh --issue --dns dns_cf -d example.com -d "*.example.com"
Certbot

安装并一键配置 Nginx / Install and configure Nginx:

sudo apt install certbot python3-certbot-nginx
sudo certbot --nginx -d example.com -d www.example.com

测试自动续期 / Test auto-renewal:

sudo certbot renew --dry-run
提示:ZeroSSL 同样支持 ACME 协议,将 acme.sh 的 CA 切换为 --server https://acme.zerossl.com/v2/DV90 即可。
Tip: ZeroSSL also speaks ACME — switch CA with --server https://acme.zerossl.com/v2/DV90.

Об инструменте · Бесплатный HTTPS-сертификат

Бесплатные сертификаты Let's Encrypt / ZeroSSL и руководство по ACME-клиентам

Все вычисления выполняются в браузере, данные не передаются.