News for hackers. Stuff that matters.
Re:Why HTTP/3 is eating the world by afiori on Thursday October 05, 2023 @12:14PM (#37780484)
> If the HTTP/3 implementations allowed self-signed certs

Is it forbidden at the protocol level or by the implementations?

Re:Why HTTP/3 is eating the world by treesknees on Thursday October 05, 2023 @12:43PM (#37780844)
It's an implementation limit that at least Chrome (and possibly other browsers) are enforcing for QUIC connections. The TLS certificate must be signed by a trusted CA. [1]

There does appear to be cli flags to change the behavior, but I don't see how you'd do that on mobile or embedded browsers.

[1]https://www.smashingmagazine.com/2021/09/http3-practical-dep...

Re:Why HTTP/3 is eating the world by remram on Thursday October 05, 2023 @01:33PM (#37781446)
You can add trusted CAs to your system though...
Re:Why HTTP/3 is eating the world by treesknees on Thursday October 05, 2023 @11:13PM (#37786788)
That is true. But an actual self-signed certificate is not signed by any CA, so it still can't be used with QUIC connections (with specific clients such as Chrome, anyway.)
Re:Why HTTP/3 is eating the world by tambre on Thursday October 05, 2023 @12:54PM (#37780992)
RFC 9114 §3.1 ¶2 [0] requires TLS certificates, but I imagine you can easily modify existing implementations to remove this restriction. And even if the spec didn't require it I'd expect all major implementors (web browsers) to still impose this. I imagine something like curl has an opt-out for this (-k?).

Note that the spec essentially says "if verification fails don't trust this connection". What not trusting means is up to the application. For browsers that's probably equivalent to not allowing the connection at all.

[0] https://www.rfc-editor.org/rfc/rfc9114#section-3.1-2