使用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.生成证书如下

yum install certbot

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