Files
node/test/fixtures/keys
Filip Skokan 4d1ab3ed8d tls: preserve CN name constraints with OpenSSL 4.1
OpenSSL no longer applies DNS name constraints to the subject CN by
default, but tls.checkServerIdentity() still uses it without a DNS SAN.
Enable subject checking during chain verification only when no DNS SAN
exists, preserving the existing hostname verification policy.

Assisted-by: Codex
Signed-off-by: Filip Skokan <panva.ip@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/65957
Refs: https://openssl-library.org/post/2026-09-09-openssl-4.1-alpha/
Reviewed-By: Tim Perry <pimterry@gmail.com>
2026-09-19 07:25:44 +00:00
..
…
…
…
…
…
…
…
…
…
…