I did this
- I start a test h3 server locally. In my case I run nghttpx with h3 abilities, using a cert + key from curl's test directory.
- This cert is not signed by any CA in my system CA store
- I run curl against this server to download a resource:
./curl --http3 https://localhost:9443/8GB -o /dev/null
- This works fine!
I expected the following
It should have failed and required -k or a suitable --cacert line.
curl/libcurl version
curl from current git. It works similarly using either/both HTTP/3 backends.
operating system
Tested on Linux but the code is platform independent.
I did this
./curl --http3 https://localhost:9443/8GB -o /dev/nullI expected the following
It should have failed and required
-kor a suitable--cacertline.curl/libcurl version
curl from current git. It works similarly using either/both HTTP/3 backends.
operating system
Tested on Linux but the code is platform independent.