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

Questions about AliCloud domain name txt record validation #6134

Open
MagicStarTrace opened this issue Dec 6, 2024 · 4 comments
Open

Questions about AliCloud domain name txt record validation #6134

MagicStarTrace opened this issue Dec 6, 2024 · 4 comments

Comments

@MagicStarTrace
Copy link

The version I'm currently using is v3.1.0

I see a lot of _acme-challenge txt related records (ram rule permission control, no permission to delete records).

Is it possible to check when adding, if it doesn't exist then add it, and if it exists then update that record?

image

Thank You!

Copy link

github-actions bot commented Dec 6, 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.

@MagicStarTrace
Copy link
Author

Currently, it doesn't check if the txt record exists, but chooses add to add it?

@xiaobai-beer
Copy link

------------------------------ Let's Encrypt merlin addon by sadog -------------------------------

【2024年12月27日 22:11:41】: 开始为www.lwllt.cn申请证书!
【2024年12月27日 22:11:41】: 证书申请过程可能会持续3分钟,请不要关闭或刷新本网页!
【2024年12月27日 22:11:41】: 使用Aliyun dns接口申请证书...
[Fri Dec 27 22:11:49 CST 2024] Create account key ok.
[Fri Dec 27 22:11:49 CST 2024] Registering account
[Fri Dec 27 22:11:52 CST 2024] Registered
[Fri Dec 27 22:11:52 CST 2024] ACCOUNT_THUMBPRINT='YbXusKcU71abuuW-qwco5wIvLnGfZw2hnPzj0K1WSLI'
[Fri Dec 27 22:11:52 CST 2024] Creating domain key
[Fri Dec 27 22:11:53 CST 2024] The domain key is here: /koolshare/acme/www.lwllt.cn/www.lwllt.cn.key
[Fri Dec 27 22:11:53 CST 2024] Single domain='www.lwllt.cn'
[Fri Dec 27 22:11:53 CST 2024] Getting domain auth token for each domain
[Fri Dec 27 22:11:57 CST 2024] Getting webroot for domain='www.lwllt.cn'
[Fri Dec 27 22:11:58 CST 2024] Adding txt value: o9sb9ZYA5XcMCYkEY02LT19DJkAL_0An9VWgf93uaDM for domain: _acme-challenge.www.lwllt.cn
[Fri Dec 27 22:12:05 CST 2024] The txt record is added: Success.
[Fri Dec 27 22:12:05 CST 2024] Let's check each dns records now. Sleep 20 seconds first.
[Fri Dec 27 22:12:26 CST 2024] Checking www.lwllt.cn for _acme-challenge.www.lwllt.cn
[Fri Dec 27 22:16:55 CST 2024] Please refer to https://www.gnu.org/software/wget/manual/html_node/Exit-Status.html for error code: 4
[Fri Dec 27 22:16:55 CST 2024] Not valid yet, let's wait 10 seconds and check next one.
[Fri Dec 27 22:16:55 CST 2024] Please refer to https://www.gnu.org/software/wget/manual/html_node/Exit-Status.html for error code: 4
[Fri Dec 27 22:17:05 CST 2024] Let's wait 10 seconds and check again.
[Fri Dec 27 22:17:15 CST 2024] Checking www.lwllt.cn for _acme-challenge.www.lwllt.cn
[Fri Dec 27 22:21:44 CST 2024] Please refer to https://www.gnu.org/software/wget/manual/html_node/Exit-Status.html for error code: 4
[Fri Dec 27 22:21:44 CST 2024] Not valid yet, let's wait 10 seconds and check next one.
[Fri Dec 27 22:21:45 CST 2024] Please refer to https://www.gnu.org/software/wget/manual/html_node/Exit-Status.html for error code: 4
[Fri Dec 27 22:21:55 CST 2024] Let's wait 10 seconds and check again.
[Fri Dec 27 22:22:05 CST 2024] Checking www.lwllt.cn for _acme-challenge.www.lwllt.cn
[Fri Dec 27 22:26:37 CST 2024] Please refer to https://www.gnu.org/software/wget/manual/html_node/Exit-Status.html for error code: 4
[Fri Dec 27 22:26:37 CST 2024] Not valid yet, let's wait 10 seconds and check next one.
[Fri Dec 27 22:26:43 CST 2024] Please refer to https://www.gnu.org/software/wget/manual/html_node/Exit-Status.html for error code: 4
[Fri Dec 27 22:26:53 CST 2024] Let's wait 10 seconds and check again.
[Fri Dec 27 22:27:03 CST 2024] Checking www.lwllt.cn for _acme-challenge.www.lwllt.cn
[Fri Dec 27 22:31:38 CST 2024] Please refer to https://www.gnu.org/software/wget/manual/html_node/Exit-Status.html for error code: 4
[Fri Dec 27 22:31:38 CST 2024] Not valid yet, let's wait 10 seconds and check next one.
[Fri Dec 27 22:31:38 CST 2024] Please refer to https://www.gnu.org/software/wget/manual/html_node/Exit-Status.html for error code: 4
[Fri Dec 27 22:31:48 CST 2024] Let's wait 10 seconds and check again.
[Fri Dec 27 22:31:58 CST 2024] Checking www.lwllt.cn for _acme-challenge.www.lwllt.cn
[Fri Dec 27 22:36:27 CST 2024] Please refer to https://www.gnu.org/software/wget/manual/html_node/Exit-Status.html for error code: 4
[Fri Dec 27 22:36:27 CST 2024] Not valid yet, let's wait 10 seconds and check next one.
[Fri Dec 27 22:36:28 CST 2024] Please refer to https://www.gnu.org/software/wget/manual/html_node/Exit-Status.html for error code: 4
[Fri Dec 27 22:36:38 CST 2024] Let's wait 10 seconds and check again.
[Fri Dec 27 22:36:48 CST 2024] Timed out waiting for DNS.
[Fri Dec 27 22:36:48 CST 2024] check dns error.
[Fri Dec 27 22:36:48 CST 2024] Please add '--debug' or '--log' to check more details.
[Fri Dec 27 22:36:48 CST 2024] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh
[Fri Dec 27 22:36:48 CST 2024] Removing DNS records.
[Fri Dec 27 22:36:48 CST 2024] Removing txt: o9sb9ZYA5XcMCYkEY02LT19DJkAL_0An9VWgf93uaDM for domain: _acme-challenge.www.lwllt.cn
[Fri Dec 27 22:36:57 CST 2024] Removed: Success
【2024年12月27日 22:36:57】: 证书申请失败,请检查插件配置、域名等是否正确!!
【2024年12月27日 22:36:57】: 清理相关残留并关闭插件!!

@xiaobai-beer
Copy link

我的为啥总是申请失败一直报代码4

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