我在Ubuntu 16.04上,我想获得通配符证书,并且我的DNS提供程序在列表中-https://certbot.eff.org/docs/using.html#dns-plugins但是当我尝试执行步骤5. Install correct DNS plugin
sudo apt-get install python3-certbot-dns-dnsmadeeasy
我总是得到
无法找到软件包python3-certbot-dns-dnsmadeeasy
尽管我可以在certbot github page上看到它,但我无法获得如何安装此插件以与certbot一起使用。
这不是如何安装certbot dnsmadeeasy插件的直接答案,但它对我有用,因此我选择了此解决方案。我使用了他们的Docker映像-https://hub.docker.com/r/certbot/dns-dnsmadeeasy它与安装了dnsmadeeasy插件的certbot相同,因此您可以通过运行以下命令获取证书:
docker run --rm -it --name certbot-dnsmadeeasy \
-v {path_to_your_dnsmadeeasy.ini}:/dnsmadeeasy.ini \
-v {path_to_where_you_want_to_store_certs}:/etc/letsencrypt \
certbot/dns-dnsmadeeasy certonly \
--dns-dnsmadeeasy \
--dns-dnsmadeeasy-credentials /dnsmadeeasy.ini \
-d {yourdomain}
您甚至不需要在计算机上安装certbot。