Quantcast
Channel: Grafana k6 - Grafana Labs Community Forums
Viewing all articles
Browse latest Browse all 339

Deprecation of tlsAuth.domains

$
0
0

Hi, when I run k6 I get the warning message “tlsAuth.domains option could be removed in the next releases. it’s recommended to leave it empty and let k6 automatically detect from the provided certificate.”

Following the documentation I am currently providing the mtls certificate for my host like so

export const options = {
    vus: parseInt(`${__ENV.VUS}`),
    duration: `${__ENV.DURATION}`,
    tlsAuth: [
        {
            domains: [`${__ENV.HOSTNAME}`],
            cert: open('./cert.pem'),
            key: open('./key.pem'),
        },
    ],
    ...

If this is removed in the future, what’s the recommended way to supply TLS certificates?
Thanks!

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 339

Trending Articles