Cheatsheet Pages / curl Cheatsheet

How to skip TLS certificate checks with curl — -k (debug only)

A dev server with a self-signed certificate refuses your request.

curl -k https://self-signed.example.com   # ⚠️ debug only, never in scripts that matter

Good to know

Debug only. -k disables MITM protection — never use it in production or in scripts that matter.

curl Cheatsheet one-page card — commands that actually work
The full one-page card — curl Cheatsheet. Get the complete cheatsheet on GitHub