我一直在尝试按照 https://certbot.eff.org/lets-encrypt/ubuntuxenial-nginx 上的说明安装 Certbot,但是,当我尝试运行sudo certbot --nginx
时,它会返回Too many flags setting configurators/installers/authenticators 'webroot' -> 'nginx'
谁知道要检查什么才能应对此错误?
检查/etc/letsencrypt/cli.ini
或~/.config/letsencrypt/cli.ini
,了解您之前可能设置的任何其他选项。
就我而言,我已经取消了authenticator = webroot
行的注释,因此再次注释掉该命令sudo certbot --nginx
有效。