Open gdog2u opened 1 year ago
I'm wondering if it's potentially a permission issue on that credentials file?
I was getting a warning that the credentials was world readable, but I changed the permissions to 660, and the warning went away. This error of the access token was happening before and after this change. I'm running this as root, so permissions shouldn't be a concern, right?
No it probably shouldn't. I mean this is odd. Like we have that command running in our unit tests and it's been issuing just fine. Hmm
dns_google_domain_access_token =
It should be
dns_google_domains_access_token = <same api token>
I've tried everything I can think of to get this working. This included modifying dns_google_domains.py to dump the contents of the ConfigObj, where I can see that there is a value for "access_token", and it still did not find it.
Command I'm running
certbot certonly --authenticator 'dns-google-domains' --dns-google-domains-credentials '/var/lib/letsencrypt/dns_google_domains_credentials.ini' -d "diablo-ii.zip"
Output
Versions
This is on
Debian 5.10.179-1 (2023-05-12) x86_64 GNU/Linux
andPython 3.9.2
Config file
My config file is at the location shown in the command, and has the following contents, per this repo's README. I have the two lines there to see if that would fix the issue, but it did not.
letsencrypt.log
The log file in total is 12kb, let me know if you want it, and which parts.
Dumping ConfigObj