windows和linux环境下cerbot生成https免费安全证书
·
linux环境下
1.安装certbot
sudo certbot --nginx
2.申请证书
sudo certbot certonly --nginx
3.续期证书
sudo certbot renew --dry-run
windows环境下
1.使用访问文件权限来生成证书
certbot certonly --standalone
2.使用dns添加后进行生成证书
certbot certonly -d test.com --manual --preferred-challenges dns

3.读取本地文件权限申请
certbot certonly --webroot --webroot-path /var/www/html -d www.123456.com --debug
4.手动续期
certbot certonly -d *.test.com --manual --preferred-challenges dns
更多推荐

所有评论(0)