k6 run --insecure-skip-tls-verify script.js

Category: Web App Development

k6 run --insecure-skip-tls-verify script.js

Skip TLS verification in k6 against dev servers

Disables certificate validation for the test run, needed when load testing local servers that use self-signed certificates. This mirrors curl -k and weakens security, so never use it against production hosts. Prefer mkcert-issued certificates instead.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.