b
约 122 字小于 1 分钟
2026-08-30
去这里申请 https://console.cloud.tencent.com/certoverview
下载 ,覆盖,按文档覆盖
重启apache
systemctl restart apache2Let’s Encrypt
免费好用
开始前
网站需要能被公网访问到,cerbot,需要确认域名所有权,在网站域名创建
mkdir -p .well-known/acme-challenge
echo "test" > .well-known/acme-challenge/test.txt安装cerbot
snap install --classic certbot获取证书
sudo certbot --nginx -d example.comsudo certbot renew --dry-run # dry run 测试模式,不会真的签发证书