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 renew fails because acme.sh stores config in account.conf instead of domain directories #5321

Open
saudiqbal opened this issue Oct 10, 2024 · 3 comments

Comments

@saudiqbal
Copy link

Adding multiple domains / subdomains works for the first time but not on renewing because adding a new domain every time overwrites the config file in /acme.sh/account.conf then only the last domain renewal works not the one added before that.

Please fix it by storing environment variables (export command) in individual domain folders like domain.com_ecc/domain.com.conf

@saudiqbal
Copy link
Author

Using the export command with same config with different passwords for different domains only renews the last domain.

@szhu25
Copy link
Contributor

szhu25 commented Oct 11, 2024

Could you share which variables you entered got saved to accounts.conf instead of within each specific domain config files?

Domain configuration: deploy
Account configuration: DNS, notify

@saudiqbal
Copy link
Author

acme.sh replaces the values for each domain / subdomain instead of adding them in /acme.sh/domain.com_ecc/domain.com.conf

ACMEDNS_BASE_URL='https://auth.acme-dns.io'
ACMEDNS_USERNAME='xxx'
ACMEDNS_PASSWORD='xxx'
ACMEDNS_SUBDOMAIN='xxx'

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