acmesh-official / acme.sh

A pure Unix shell script implementing ACME client protocol
https://acme.sh
GNU General Public License v3.0
38.87k stars 4.93k forks source link

DNS renew fails because acme.sh stores config in account.conf instead of domain directories #5321

Open saudiqbal opened 3 hours ago

saudiqbal commented 3 hours ago

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

github-actions[bot] commented 3 hours ago

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.

saudiqbal commented 3 hours ago

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