Fixing Cloudflare 522 Error: CDN Configuration Steps - Fix 'Externally Managed Environment' Error on Linux-How to Trust Self-Signed Certificates on Localhost

Final checklist
- Confirm that the same symptom is gone after a restart or refresh.
- Keep the smallest working change and undo temporary diagnostic settings.