使用certbot申请泛域名证书

1.下载certbot

yum install certbot

2.提示添加一条域名解析:TXT 格式的DNS文本记录

3.申请证书

certbot certonly -d *.ruichat.net --manual --preferred-challenges dns --server https://acme-v02.api.letsencrypt.org/directory

4.生成证书如下

image

posted @ 2022-08-04 18:37  之乎者也~  阅读(233)  评论(0编辑  收藏  举报