Invalid SSL
Cloudflare
Deeply Nested Subdomains
If you are using a deeply nested subdomain such as *.5stack.example.com, note that Cloudflare's free SSL certificate does not cover these domains. To secure deeply nested subdomains, you must purchase an SSL certificate through Cloudflare's Advanced Certificate Manager.
Cloudflare Proxy
If you are using Cloudflare's proxy and not using a reverse proxy, the 5Stack k3s cluster will attempt to generate its own SSL certificates using Let's Encrypt.
However, when Cloudflare's proxy is enabled, it blocks direct HTTP requests to your server. This prevents Let's Encrypt from verifying your domain and issuing SSL certificates, causing certificate generation to fail.
To resolve this use Cloudflare Page Rule / Redirect Rule Exception
Page Rule
- Go to Rules → Redirect Rules (or Page Rules if still enabled on your account)
- Create a rule:
- If URL path starts with
/.well-known/acme-challenge/* - → Do not forward to HTTPS
- If URL path starts with
- Make sure this rule is above any global redirect
