Buy commercial curl support. We
help you work out your issues, debug your libcurl applications, use the API,
port to new platforms, add new features and more. With a team lead by the
curl founder Daniel himself.
Dropping CN fallback
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Demi Marie Obenour <demiobenour_at_gmail.com>
Date: Sat, 21 Nov 2026 02:12:38 -0500
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.
Received on 2026-11-21
Date: Sat, 21 Nov 2026 02:12:38 -0500
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.
-- Sincerely, Demi Marie Obenour (she/her/hers)
-- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.html
- application/pgp-signature attachment: OpenPGP digital signature