8

Having an application that runs with an insecure certificate results in an error from k6.

time="2017-11-29T14:15:16Z" level=warning msg="Request Failed" error="Put https://xxxxxxx: x509: certificate signed by unknown authority"

HackToHell
  • 2,223
  • 5
  • 29
  • 44

1 Answers1

17

You need to add the insecureSkipTLSVerify: true in options or add the --insecure-skip-tls-verify flag.

https://docs.k6.io/docs/options

HackToHell
  • 2,223
  • 5
  • 29
  • 44