Skip to content
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

关于同一个主机下多个域名在不同华为云账号下的dns验证写法?(不是bug) #5084

Open
moranno opened this issue Apr 9, 2024 · 3 comments

Comments

@moranno
Copy link

moranno commented Apr 9, 2024

我的同一台主机,有多个域名需要申请证书。多个域名分布在不同的华为云账号下;我如何配置(能否)不同环境变量才能让
申请证书续期证书 的时候验证不同的华为云账号?

设想:账号1

export HUAWEICLOUD_Username_1="<Your IAM Username1>"
export HUAWEICLOUD_Password_1="<Your Password1>"
export HUAWEICLOUD_DomainName_1="<Your DomainName1>"

账号2:

export HUAWEICLOUD_Username_2="<Your IAM Username2>"
export HUAWEICLOUD_Password_2="<Your Password2>"
export HUAWEICLOUD_DomainName_2="<Your DomainName2>"

申请账号1下的域名证书:

./acme.sh --issue --dns dns_huaweicloud_1 -d example1.com -d *.example1.com

申请账号2下的域名证书:

./acme.sh --issue --dns dns_huaweicloud_2 -d example2.com -d *.example2.com

同理,其他dns服务商的情况是否也能通过类似的方式实现?

Copy link

github-actions bot commented Apr 9, 2024

Please upgrade to the latest code and try again first. Maybe it's already fixed. acme.sh --upgrade If it's still not working, please provide the log with --debug 2, otherwise, nobody can help you.

@Asanatsa
Copy link

Asanatsa commented May 6, 2024

acme.sh似乎不支持申请多个域名,如果有需要的话就用docker吧

@Asanatsa
Copy link

Asanatsa commented May 6, 2024

再加个用户也行,数据都存在用户文件夹根目录

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants