Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating SSL Certificates - CF_Token instead of CF_Email and CF_KEY #613

Closed
echumley opened this issue Oct 9, 2024 · 1 comment
Closed

Comments

@echumley
Copy link

echumley commented Oct 9, 2024

On the page Creating SSL Certificates, under Method 2: ACME.sh (using Cloudflare API) (link), the displayed export commands for Creating a Certificate (Modern) are incorrect.

Using the instructions above this code block, you create a Cloudflare API Token and not an API Key. That token is the only variable you need to export before running the acme.sh command. You don't need to include the API Key or email and will work without it.

Corrected section of the documentation:

After installing acme.sh and obtaining the CloudFlare API key, we need to then generate a certificate. First, input the CloudFlare API credentials.
export CF_Token="Your_Cloudfalre_API_Token"

The other thing you could note is that after the install of acme.sh, you do need to logout and log back in for it to work. It does display this fact in the install log but can be easily overlooked.

@echumley echumley closed this as completed Oct 9, 2024
@echumley
Copy link
Author

echumley commented Oct 9, 2024

Sorry, still new to GitHub. I created a proper Pull Request for this: #614

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant