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
Logo

北京人形旗下天工造物具身智能开源社区,聚焦具身天工与慧思开物两大平台

更多推荐