Skip to content

curl+quiche with HTTP/3 silently ignores certificate problems #8173

@bagder

Description

@bagder

I did this

  1. 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.
  2. This cert is not signed by any CA in my system CA store
  3. I run curl against this server to download a resource: ./curl --http3 https://localhost:9443/8GB -o /dev/null
  4. 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.

Metadata

Metadata

Assignees

Labels

HTTP/3h3 or quic related

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions