The current TLS configuration API is broken. It passes file names and the go code loads these files with normal file operations. This contradicts the expectations of the k6 runtime, that no file operations can be performed while the test is running. The files should be loaded with the k6 JavaScript open() function and passed to the loadTLS() function as a byte array.
The current TLS configuration API is broken. It passes file names and the go code loads these files with normal file operations. This contradicts the expectations of the k6 runtime, that no file operations can be performed while the test is running. The files should be loaded with the k6 JavaScript
open()
function and passed to theloadTLS()
function as a byte array.