certbot-dns-linode - api permissions...


i'm trying to set up letsencrypt on linode with the following command "wildcard":

certbot certonly --dns-linode --staging --dns-linode-credentials /root/.secrets/certbot/linode.ini --dns-linode-propagation-seconds 1000 --server https://acme-v02.api.letsencrypt.org/directory

The thing is.. with a correct api_key i got evertime:
Linode api error: [{'ERRORMESSAGE': 'Authentication failed','ERRORCODE': 4}]

which sounds only a problem with api key permissions..
However, i've been able to test some api's with success so it's not a problem with my key at all..

After reading the source, i've noticed, that is doing a request to this endpoing:
which a can't find on linode documentation.. weird..

However, doing manually to:
curl -X GET https://api.linode.com/v4/domains -H "Authorization: Bearer …"
it works perfectly..

python3-certbot-dns-linode version is (0.31.0-1)

am i missing something?


3 Replies

@gparent yes, but i'm using the last version which includes that already.. and it's correct with the official doc:



you're correct.. the last available version "ppm" does not include that fix yet..
Updating the key with one generated at manager.linode works..

Thanks again,

Since certbot is python you'd probably be able to use virtualenvs to solve the issue cleanly: https://docs.python.org/3/library/venv.html


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct