k6
k6 copied to clipboard
The document is not clear for calling https
Feature Description
I am trying to make HTTPS calls, when I use JMeter, I don't pass any cert.
When using K6, I am trying to use
export let options = {
maxRedirects: 4,tlsAuth: [{cert: CERT,key: KEY,},],
};
But I am getting WARN[0006] Request Failed error="Post "https://gcp.manoj.service.com": x509: “*.lab-us-gcp.manoj.service.com” certificate is not standards compliant"
Suggested Solution (optional)
No response
Already existing or connected issues / PRs (optional)
No response
What is your OS and the k6 version you are using? Because when searching for "certificate is not standards compliant", I stumble on a bunch of Go MacOS issues like https://github.com/golang/go/issues/51991 :thinking:
Also, please use the correct issue template when submitting an issue.
I am using macOS (Monterey) M1 Chip and K6 - 0.39.0 V.
I don't completely understand what's going on here, but from the issue I linked above, it seems like a Go problem specifically on MacOS, so I am not sure what we can do about it, if anything... :confused: If anyone knows or has MacOS and can reproduce this, please lend a hand.
Closing as the issue doesn't sound to be directly generated by k6. Feel free to reopen if you have more details.