September 2, 20241 yr 部署安装npm中文版镜像 添加SSL证书,启用DNS认证:DNSPod 保存报错,提示pip install certbot-dns-dnspod~=0.1.0 错误 手动进入容器内,在/etc/pip.conf修改[global] index-url = https://pypi.tuna.tsinghua.edu.cn/simple 修改完后保存仍报错,提示缺失 zope.interface ,进入容器安装 pip install zope.interface,更新pip: python3 -m pip install --upgrade pip 保存报错 再次进入容器执行,pip install certbot-dns-dnspod~=0.1.0 -i https://pypi.tuna.tsinghua.edu.cn/simple 保存报错,提示找不到cloudflare 查看python-cloudflare和certbot-dns-cloudflare在容器内的位置 pip show python-cloudflare Name: python-cloudflare Version: 1.0.1 Summary: Python wrapper for the CloudFlare v4 API Home-page: https://github.com/cloudflare/python-cloudflare Author: Martin J. Levy Author-email: [email protected] License: MIT Location: /usr/local/lib/python3.7/dist-packages Requires: cloudflare Required-by: [root@docker-6f28499f48e6:/tmp/certbot-log-i75ktn6g]# pip show certbot-dns-cloudflare Name: certbot-dns-cloudflare Version: 2.7.4 Summary: Cloudflare DNS Authenticator plugin for Certbot Home-page: https://github.com/certbot/certbot Author: Certbot Project Author-email: [email protected] License: Apache License 2.0 Location: /usr/local/lib/python3.7/dist-packages Requires: acme, certbot, cloudflare, setuptools Required-by: 保存报错 Error: Command failed: certbot certonly --config "/etc/letsencrypt.ini" --cert-name "npm-10" --agree-tos --email "[email protected]" --domains "*.yukariovo.top,yukariovo.top" --authenticator dns-dnspod --dns-dnspod-credentials "/etc/letsencrypt/credentials/credentials-10" The 'certbot_dns_cloudflare._internal.dns_cloudflare' plugin errored while loading: No module named 'CloudFlare'. You may need to remove or update this plugin. The Certbot log will contain the full error details and this should be reported to the plugin developer. Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /tmp/certbot-log-i75ktn6g/log or re-run Certbot with -v for more details.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.