GithubHelp home page GithubHelp logo

Comments (16)

tengattack avatar tengattack commented on May 20, 2024 1

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 看是有了

from certbot-dns-aliyun.

tengattack avatar tengattack commented on May 20, 2024

是不是包没有安装正确,certbot 会启动 venv 吗

from certbot-dns-aliyun.

Power-tile avatar Power-tile commented on May 20, 2024

我没有使用venv安装certbot-dns-aliyun 是直接pip install certbot-dns-aliyun

from certbot-dns-aliyun.

tengattack avatar tengattack commented on May 20, 2024

certbot 也是 pip 一起安装的吗?certbot 现在是啥版本呢可以看看吗

from certbot-dns-aliyun.

Power-tile avatar Power-tile commented on May 20, 2024

啊 certbot是用官方推荐的snapd装的 版本号1.1.0

from certbot-dns-aliyun.

tengattack avatar tengattack commented on May 20, 2024

snapd 装的啊,是不是走的不是系统 pip 安装的目录,我稍晚看看~

from certbot-dns-aliyun.

Power-tile avatar Power-tile commented on May 20, 2024

ok thanks
我把certbot + snapd全部卸载了重新用pip装了一遍 显示装在/usr/local/lib/python3.6/dist-packages/certbot目录里 但是这个文件夹下只有一堆.py文件 没有certbot可执行文件没法直接certbot --version

from certbot-dns-aliyun.

tengattack avatar tengattack commented on May 20, 2024

是不是得看下安装到哪里去了

from certbot-dns-aliyun.

Power-tile avatar Power-tile commented on May 20, 2024

应该就是这个地方吧...? 重新运行了一遍pip install certbot告诉我的路径就在这里
image
而且pip安装的应该是可以直接import的module...? 所以没有可执行文件?

from certbot-dns-aliyun.

tengattack avatar tengattack commented on May 20, 2024

这样,是否考虑用系统的包管理安装,或者使用 certbot-auto 的形式?

from certbot-dns-aliyun.

Power-tile avatar Power-tile commented on May 20, 2024

我屈服了hhh 我用venv装 就会在./venv/bin/下面得到certbot的可执行文件 就可以运行了
运行过程没啥问题 询问了我的邮箱、同意条款、同意他们给我发信息,我分别填了邮箱,Y,N

但是返回的时候报了一个exception:
Encountered exception during recovery: certbot.errors.PluginError: Unable to determine zone identifier for <我的域名>.com using zone names: ['<我的域名>.com', 'com']
Unable to determine zone identifier for <我的域名>.com using zone names: ['<我的域名>.com', 'com']

我个人感觉这可能和我的域名是a-b.com的格式有关...? 我在执行certbot的时候 -d "my-domain.com" -d "*.my-domain.com"的时候都加了双引号 而且运行到后面返回的时候才出错的 这是不是plugin在域名字符串分离的时候的问题呀(

from certbot-dns-aliyun.

tengattack avatar tengattack commented on May 20, 2024

plugin 里分离应该不会有这个问题,晚点我一起看下使用 a-b 的形式的时候,这块会不会有什么问题

from certbot-dns-aliyun.

Power-tile avatar Power-tile commented on May 20, 2024

ok thanks

from certbot-dns-aliyun.

Power-tile avatar Power-tile commented on May 20, 2024

@tengattack 我简单看了一下 这个错误应该是这一行报出来的 但是我不确定怎么对这个项目做调试/怎么搭调试环境 请问你可以试试在这里打个断点调试一下嘛 谢谢

from certbot-dns-aliyun.

tengattack avatar tengattack commented on May 20, 2024

@tengattack 我简单看了一下 这个错误应该是这一行报出来的 但是我不确定怎么对这个项目做调试/怎么搭调试环境 请问你可以试试在这里打个断点调试一下嘛 谢谢

@Power-tile 您方便看下你创建的 RAM 子账号里有相关权限吗,目前的逻辑是搜索您传入的域名,应该总是可以找到才对

from certbot-dns-aliyun.

Power-tile avatar Power-tile commented on May 20, 2024

!啊 它好了 我的RAM子账号原先属于的工作组没有AliyunDNSFullAccess权限,只有该帐号自己有,我把工作组的权限加上就好了

from certbot-dns-aliyun.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.