Closed crxporter closed 3 years ago
How do you have your Cloudflare API token setup? This is how I have the one I use configured:
I was using the global token (I know bad practice but currently I only plan to use cloudflare for the UDM)
Ah well this script doesn't pass the right parameters to Lego to use the global tokens, there's a separate set of variables you need to pass (like CLOUDFLARE_EMAIL
) for that to work.
Ah ok. So it’s best to use an api token. I’ll give it another try.
Thanks!
I'm still getting the same error. Shows the same "invalid request headers" and "invalid format for authorization header" as the error message...
I'm using the API token now, set up the same as your screenshot earlier today.
Update: Got it working. I had the CERT_HOSTS field wrong so the TLD didn't match the token.
Thanks for your help!
I've gotten my cloudflare account set up, got my TLD set up in cloudflare, set up dynamic dns via dnsomatic for the UDM-Pro, then finally tried installing your script. It looks awesome but isn't running properly for me.
Any help will be appreciated. My error is:
Thanks!