certbot certonly --webroot时,必须添加webroot目录,如下,这样可以通过你的网页目录和域名确定所有权认证。
生成的证书有效期为90天。
certbot certonly --webroot -w /var/www/html/