On Sat, Nov 21, 2026 at 2:13 AM Demi Marie Obenour via curl-library < [email protected]> wrote:
> Putting the domain name in the CN has been deprecated for a long time. > Furthermore, it is very risky for security, because different TLS > libraries are inconsistent in checking the CN against name constraints. > Notably, OpenSSL 4.1 has a regression from OpenSSL 4.0 in this area. > > I'd like to propose a future-proof solution: drop CN fallback and only > check the SAN. It's backwards-incompatible, but it's the simplest > way to ensure these problems never happen again. It also will > work with anything that is not using a very-deprecated way to build > the certificate. Furthermore, it's consistent with browsers, which > dropped support for putting the domain name in the CN quite a while ago. What the browsers do is specified in the CA/Browser Forum (CA/BF) Baseline Requirements (BR). It is colloquially known as the "Web PKI." It is one way to run a PKI. The IETF has slightly different rules, and it does not include deprecating use of Common Name (CN). The IETF provides the "Internet PKI." It is another way to run a PKI. Since cURL is a general purpose tool, I think it would be wise to support at least both PKIs. Jeff
-- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.html
