From 074f2d800f2c7b741a080081cfcc5295b375b23d Mon Sep 17 00:00:00 2001
From: Filippo Valsorda
+ The deprecated, legacy behavior of treating the CommonName
+ field on X.509 certificates as a host name when no Subject Alternative Names
+ are present is now disabled by default. It can be temporarily re-enabled by
+ adding the value x509ignoreCN=0
to the GODEBUG
+ environment variable.
+
+ Note that if the CommonName
is an invalid host name, it's always
+ ignored, regardless of GODEBUG
settings. Invalid names include
+ those with any characters other than letters, digits, hyphens and underscores,
+ and those with empty labels or trailing dots.
+
@@ -523,15 +540,6 @@ Do not send CLs removing the interior tags from such phrases. certificates with trailing dots.
-
- The deprecated, legacy behavior of treating the CommonName
- field as a hostname when no Subject Alternative Names are present is now
- disabled by default. It can be temporarily re-enabled by adding the value
- x509ignoreCN=0
to the GODEBUG
environment
- variable. If the CommonName
is an invalid hostname, it's
- always ignored.
-
The new CreateRevocationList
function and RevocationList
type