Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

andytalbot's avatar

Forge Wildcard LetsEncrypt with Cloudflare

I try to install a LetsEncrypt certificate via Cloudflare

I have it set for *.domain.com,domain.com I pick Cloudflare I enter an API token I have created follwing the requirements here:

https://forge.laravel.com/docs/1.0/sites/ssl.html#letsencrypt

However it errors with the following...

Missing properties in credentials configuration file letsencrypt/creds.ini:

  • Property "dns_cloudflare_email" not found (should be email address associated with Cloudflare account).
  • Property "dns_cloudflare_api_key" not found (should be API key for Cloudflare account, obtained from https://dash.cloudflare.com/profile/api-tokens). cp: cannot stat '/etc/letsencrypt/live/certificate/privkey.pem': No such file or directory cp: cannot stat '/etc/letsencrypt/live/certificate/fullchain.pem': No such file or director

there is no folder at /etc called letsencrypt, so not sure where it tries to find the cred.ini file.

0 likes
0 replies

Please or to participate in this conversation.