Gcore DNS API not working, "$" character is removed from the account.conf
Cannot issue certificates with Gcore DNS because the token is always invalid.
When exporting the variable, there is a "$" character that for some reason disappears from account.conf after the issue command:
Exporting the token:
After acme.sh --issue ... the contents of the account.conf:
I have tried manually editing account.conf to add the '$' character to the variable, but it is still removed after running the issue command.
Steps to reproduce
Try to issue any certificate with the Gcore DNS API
Debug log
acme.sh --issue ..... --debug 2
[Mon Mar 25 20:40:27 UTC 2024] _CURL='curl --silent --dump-header /home/user/.acme.sh/http.header -L --trace-ascii /tmp/tmp.fjHO8fQGwC -g ' [Mon Mar 25 20:40:27 UTC 2024] ret='0' [Mon Mar 25 20:40:27 UTC 2024] response='{"error":"invalid or expired permanent token"}' [Mon Mar 25 20:40:27 UTC 2024] h='cloud' [Mon Mar 25 20:40:27 UTC 2024] zones/cloud [Mon Mar 25 20:40:27 UTC 2024] GET
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.
So I tried several things.
First I tried to escape the "$" character: 123\$abc, it doesn't work,
Then I encoded the token in base64 and decoded it in use, it doesn't work either.
The problem must be here somewhere because the G-core interface says the token was never used.
So during export, the character escaping worked and I was able to generate the certificate. The "$" character is also in account.conf now.
But it only works the first time, after the second issue command, the same problem occurs as before. The "$" character will be deleted from account.conf and the token will be invalid.
+1
+1
try again with dev
acme.sh --upgrade -b dev