Certbot 多插件:使用一个插件进行身份验证并使用另一个插件进行配置

Certbot Multiple plugin: Authenticate with one plugin and configure with another

我正在使用 certbot 的 cloudflare 插件为我的域生成通配符证书。

现在我也想用--apache插件更新apache配置。

我尝试了运行以下命令

certbot -d example.in -d *.example.in --dns-cloudflare --apache

显然应用程序抛出以下错误。

Too many flags setting configurators/installers/authenticators 'apache' -> 'dns-cloudflare'

我需要cloudflare插件来自动验证通配符dns,但同时我还需要apache插件来自动设置配置。

这可以实现吗?如果可以,怎么做?

好的,经过大量的文档挖掘和足够的试验和错误后,它开始工作了

对于初学者,这里是 the official docs.

的一些摘录

To specify a combination of distinct authenticator and installer plugins, specify the authenticator plugin with --authenticator or -a and the installer plugin with --installer or -i.

...您的人完成了剩下的工作。 XD

certbot -d *.example.in -d example.in  -a dns-cloudflare -i apache

正如我所希望的那样,我们正在这样做,我们使用 dns-cloudflare 进行身份验证 [-a],并使用 apache 安装 [-i ].

很可爱吧?