certbot certonly --webroot时,必须添加webroot目录,如下,这样可以通过你的网页目录和域名确定所有权认证。

生成的证书有效期为90天。

certbot certonly --webroot -w /var/www/html/

© 本文著作权归作者所有。转载请联系授权,禁止商用。