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

Unable to override NSUPDATE_SERVER #2225

Closed
scifibob opened this issue Apr 20, 2019 · 3 comments
Closed

Unable to override NSUPDATE_SERVER #2225

scifibob opened this issue Apr 20, 2019 · 3 comments

Comments

@scifibob
Copy link

acme.sh stores the NSUPDATE_SERVER variable in account.conf, and I'm unable to override it.
I don't know how, but I have 4 diffent local dns servers, and the script always manage to choose the one that is unable to do dynamic updates, and store it in the accont file.
I would think that overriding the variable "NSUPDATE_SERVER" would do it, but it does not work.
I have tried to uninstall acme.sh an installed it again, but then it selects the wrong server even before I start.

@scifibob
Copy link
Author

I have tried manually to update account.conf, but it seems that the main script updates it somehow, and with the wrong ip.

@scifibob
Copy link
Author

Even write protecting account.conf didn't work. Obviously, the script are doing some weird things.

@Neilpang
Copy link
Member

the NSUPDATE_SERVER value can be overwritten now.
everytime you use export NSUPDATE_SERVER=xxxxxxxxx , it will save in the account.conf.

So, only the last NSUPDATE_SERVER is saved, thus, only the last sever's cert can be renewed automatically.

We planned to support multiple servers in future. see this bug: #2055

HQJaTu pushed a commit to HQJaTu/acme.sh that referenced this issue Jun 13, 2019
make NSUPDATE_SERVER can be overwritten
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