Install any skill in seconds. Free to start, no credit card required.
Get Started Free →SSL/TLS 证书管理,包含 Let's Encrypt 自动申请、Nginx 配置、证书续期
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-02 | ✓→✓ | = Same ✓ | 12% | 0% |
| case-03 | ✓→✓ | = Same ✓ | 102% | 0% |
| case-04 | ✓→✓ | = Same ✓ | 44% | 0% |
| case-05 | ✓→✓ | = Same ✓ | 87% | 0% |
| case-06 | ✓→✓ | = Same ✓ | 1% | 0% |
提供 SSL/TLS 证书的申请、配置、自动续期完整方案,基于 Let's Encrypt 免费证书。
Ubuntu: apt install certbot python3-certbot-nginx。CentOS: yum install certbot。Docker: certbot/certbot 镜像。
四种方式:Nginx 插件(自动配置)、Webroot、Standalone(需停 Nginx)、通配符(DNS 验证)。
配置 listen 443 ssl http2,指定证书路径。启用 TLSv1.2/1.3,ssl_session_cache。添加 HSTS 头。HTTP 301 重定向 HTTPS。
certbot renew --dry-run 测试。crontab 每天凌晨3点执行 certbot renew --quiet --post-hook 'systemctl reload nginx'。也可用 systemd timer。
certbot certificates 查看所有证书,certbot delete 删除,openssl x509 查看详情,openssl s_client 检查过期时间。
| 问题 | 原因 | 解决方案 | |------|------|---------| | 证书申请失败 | 80 端口未放行 | 检查防火墙/安全组 | | 续期失败 | Nginx 未重载 | 检查 post-hook 命令 | | 证书过期 | 自动续期未配置 | 设置 crontab/systemd timer | | 通配符验证失败 | DNS 解析延迟 | 等待 DNS 传播后重试 | | 浏览器不信任 | 证书链不完整 | 使用 fullchain.pem | | 混合内容警告 | 资源用 HTTP | 全站 HTTPS |
Other measured skills in the registry, with their headline benchmark lift.