Re:Fourteen Years of Go
by davewritescode on Saturday November 11, 2023 @09:03PM
(#38236551)
You can’t get the old behavior back with a flag as of 1.17 and if you could I wouldn’t be complaining.
Also, the reason CN is deprecated has nothing to do with security but the maximum length of the field in the spec. Chrome ignores it but every cert I’ve seen recently still includes it for legacy compatibility.
It’s not a huge dealbreaker but it forced me to go make 3rd parties regenerate their certs before I could upgrade my version of go.
As discussed in the link, CommonName has been deprecated in x.509 serverAuth certificates for decades, and all major browsers dropped support for the field (even as a fallback) years ago.