MbedTLS error on WSL

Hallo @Palli,

I checked MbedTLS.DEFAULT_CERT[], it returns the expected string.

I can’t check if this also happens on WSL (version 1), I only have WSL2 on my machine.

What I actually try to do is requesting some HTTP endpoints, with self-signed certificates, with HTTP.jl. However, I’m afraid I can only disable the certificate verification of HTTP.jl with the SSLConfig generated via MbedTLS so I can’t use OpenSSL.jl in this case.

Or would you know of any other way to achive that goal?

For now I’m falling back to the native Windows version.

Also, I don’t have a /proc/sys/fs/binfmt_misc/WSLInterop, but /proc/sys/fs/binfmt_misc/WSLInterop-late. It contains the following:

enabled
interpreter /init
flags: P
offset 0
magic 4d5a

However I have the directory /run/WSL/, so Sys.detectwsl() works.

BR Stefan

1 Like