-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
certbot找不到--certbot-dns-aliyun:dns-aliyun-credentials参数 #9
Comments
是不是包没有安装正确,certbot 会启动 venv 吗 |
我没有使用venv安装certbot-dns-aliyun 是直接 |
certbot 也是 pip 一起安装的吗?certbot 现在是啥版本呢可以看看吗 |
啊 certbot是用官方推荐的snapd装的 版本号1.1.0 |
snapd 装的啊,是不是走的不是系统 pip 安装的目录,我稍晚看看~ |
ok thanks |
是不是得看下安装到哪里去了 |
这样,是否考虑用系统的包管理安装,或者使用 certbot-auto 的形式? |
我屈服了hhh 我用venv装 就会在./venv/bin/下面得到certbot的可执行文件 就可以运行了 但是返回的时候报了一个exception: 我个人感觉这可能和我的域名是a-b.com的格式有关...? 我在执行certbot的时候 -d "my-domain.com" -d "*.my-domain.com"的时候都加了双引号 而且运行到后面返回的时候才出错的 这是不是plugin在域名字符串分离的时候的问题呀( |
plugin 里分离应该不会有这个问题,晚点我一起看下使用 a-b 的形式的时候,这块会不会有什么问题 |
ok thanks |
@tengattack 我简单看了一下 这个错误应该是这一行报出来的 但是我不确定怎么对这个项目做调试/怎么搭调试环境 请问你可以试试在这里打个断点调试一下嘛 谢谢 |
@Power-tile 您方便看下你创建的 RAM 子账号里有相关权限吗,目前的逻辑是搜索您传入的域名,应该总是可以找到才对 |
!啊 它好了 我的RAM子账号原先属于的工作组没有AliyunDNSFullAccess权限,只有该帐号自己有,我把工作组的权限加上就好了 |
snap 上也发布了: sudo snap install certbot-dns-aliyun
sudo snap set certbot trust-plugin-with-root=ok
sudo snap connect certbot:plugin certbot-dns-aliyun
/snap/bin/certbot plugins plugins 看是有了 |
certbot certonly -a certbot-dns-aliyun:dns-aliyun \ --certbot-dns-aliyun:dns-aliyun-credentials /path/to/credentials.ini \ -d example.com \ -d "*.example.com"
运行后报错:找不到该参数
The text was updated successfully, but these errors were encountered: