简介
Certbot 是一个命令行工具,用于自动执行从 Let’s Encrypt 获取和更新SSL/TLS 证书的过程。它通过管理证书、配置 Web 服务器并自动更新证书来简化网站安全保护。
安装
- 在
Ubuntu/Debian上
sudo apt update
sudo apt install certbot python3-certbot-nginx # For Nginx
sudo apt install certbot python3-certbot-apache # For Apache
- 在
CentOS/RHEL上
sudo yum install epel-release
sudo yum install certbot python3-certbot-nginx # For Nginx
sudo yum install certbot python3-certbot-apache # For Apache
常用选项
-
--nginx:获取并配置 Nginx 的证书。 -
--apache:获取并配置 Apache 的证书 -
certonly:仅获取证书,不执行安装 -
renew:更新所有已安装的证书 -
delete:删除证书 -
revoke --cert-path <
命令行工具自动管理SSL证书

最低0.47元/天 解锁文章
1596

被折叠的 条评论
为什么被折叠?



