太多的标志设置配置器/安装器/身份验证器 'webroot' -> 'nginx'

ale*_*sej 3 ssl ssl-certificate lets-encrypt certbot

我一直在尝试按照https://certbot.eff.org/lets-encrypt/ubuntuxenial-nginx上的说明安装 Certbot但是,当我尝试运行时sudo certbot --nginx,它返回Too many flags setting configurators/installers/authenticators 'webroot' -> 'nginx'

谁知道要检查什么才能解决这个错误?

小智 5

检查/etc/letsencrypt/cli.ini~/.config/letsencrypt/cli.ini查看您之前可能设置的任何额外选项。

在我的情况下,我取消了该authenticator = webroot行的注释,因此再次注释掉该命令sudo certbot --nginx有效。