tengattack / certbot-dns-aliyun

A certbot dns plugin to obtain certificates using aliyun.
Other
253 stars 57 forks source link

无用的引用 导致新版certbot报错 #13

Open Whads1985 opened 2 years ago

Whads1985 commented 2 years ago

本次certbot更新后 提示 An unexpected error occurred: pkg_resources.ContextualVersionConflict: (cryptography 36.0.0 (/var/lib/snapd/snap/certbot/1670/lib/python3.8/site-packages), Requirement.parse('cryptography<4,>=2'), {'dns-lexicon'}) Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /tmp/tmpsg4ueu0p/log or re-run Certbot with -v for more details.

去掉setup.py里面的 dns-lexicon 以及certbot_dns_aliyun/dns_aliyun.py 引用 from certbot.plugins import dns_common_lexicon 后 我本地测试没啥问题

alvinhu commented 2 years ago

同样的问题,snap 安装的咋办?

oscxc commented 1 year ago

snap 安装报错了:

An unexpected error occurred:
TypeError: 'type' object is not iterable

本来能用的,最后一次commit改出问题来了

tengattack commented 1 year ago

snap 安装报错了:

An unexpected error occurred:
TypeError: 'type' object is not iterable

本来能用的,最后一次commit改出问题来了

最后一次是指 https://github.com/tengattack/certbot-dns-aliyun/commit/b3472d98a09f4c7ccc8b177aad139f4f876cf9ff 这个吗?应该这个 commit 是修复了这个问题才对,能看下你的 certbot 版本吗

oscxc commented 1 year ago

snap 安装报错了:

An unexpected error occurred:
TypeError: 'type' object is not iterable

本来能用的,最后一次commit改出问题来了

最后一次是指 b3472d9 这个吗?应该这个 commit 是修复了这个问题才对,能看下你的 certbot 版本吗

哦,现在用的是 certbot 2.2.0版本,以前用的应该是1.0版本,难道这个插件只支持1.0,不过无所谓了,我现在使用 --manual + hook 的方式了,不再依赖插件了自己写个脚本就ok。不过我觉得你最好能跟着官方及时更新一下,他们已经提了2次Pull Request

zmlgit commented 1 year ago

snap 安装报错了:

An unexpected error occurred:
TypeError: 'type' object is not iterable

本来能用的,最后一次commit改出问题来了

最后一次是指 b3472d9 这个吗?应该这个 commit 是修复了这个问题才对,能看下你的 certbot 版本吗

哦,现在用的是 certbot 2.2.0版本,以前用的应该是1.0版本,难道这个插件只支持1.0,不过无所谓了,我现在使用 --manual + hook 的方式了,不再依赖插件了自己写个脚本就ok。不过我觉得你最好能跟着官方及时更新一下,他们已经提了2次Pull Request

求详细教程

oscxc commented 1 year ago

snap 安装报错了:

An unexpected error occurred:
TypeError: 'type' object is not iterable

本来能用的,最后一次commit改出问题来了

最后一次是指 b3472d9 这个吗?应该这个 commit 是修复了这个问题才对,能看下你的 certbot 版本吗

哦,现在用的是 certbot 2.2.0版本,以前用的应该是1.0版本,难道这个插件只支持1.0,不过无所谓了,我现在使用 --manual + hook 的方式了,不再依赖插件了自己写个脚本就ok。不过我觉得你最好能跟着官方及时更新一下,他们已经提了2次Pull Request

求详细教程

这个项目挺好的,可以直接用,也可以参考。 https://github.com/ywdblog/certbot-letencrypt-wildcardcertificates-alydns-au