Incorrect Guide on creating SSL cert with cloudflare and acme.sh
On https://pterodactyl.io/tutorials/creating_ssl_certificates.html#method-2:-acme.sh-(using-cloudflare-api)
for the modern method it says:
export CF_Key="Your_CloudFlare_API_Key"
export CF_Email="Your_CloudFlare_Email"
This should be:
export CF_Token="Your_CloudFlare_API_Key"
export CF_Email="Your_CloudFlare_Email"
CF_Key is for using an API Key and CF_Token is for using a global API Key. Currently the docs explain how to get and use the CF_Key
following this guide:
After installing acme.sh, we need to fetch a CloudFlare API key. On Cloudfare's website, click on your profile on the top right. Then go to "My Profile", on the left you will find "API Tokens". Click it and it'll bring you to the API tokens page (opens new window). Select "Create Token" and use the "Edit zone DNS" template. Then once on the next page, go to "Zone Resources" and "Include" - "Specific Zone" - (Select the domain you want to use). Then continue to the summary. Confirm you'd like to create the token.
I needed to use CF_Token and not CF_Key or it failed.