尝试在OVH VPS服务器上创建SSL证书时出错



我试图通过certbot在我的VPS服务器上安装SSL证书,但我得到了以下错误。

2021-05-14 05:15:19,038:ERROR:certbot._internal.log:An unexpected error occurred:
2021-05-14 05:15:19,038:ERROR:certbot._internal.log:TypeError: create_record() got an unexpected keyword argument 'type'
人知道是什么原因导致了这个错误消息吗?谢谢

好的,我修复了文件/certbot/plugins/dns_common_lexicon.py

使用rtype第48行更改参数名称type

self.provider.create_record(rtype='TXT', name=record_name, content=record_content)

第70行:

self.provider.delete_record(rtype='TXT', name=record_name, content=record_content)

我用snap而不是pip修复了它。感谢

我在降级dns词典时解决了这个问题

pip install dns-lexicon==3.3.22

最新更新