3

According to https://stackoverflow.com/a/26195101/569976#comment41093099_26195101 "[Using the DNS name as the common name is] deprecated by both the IETF and CA/B Forums, and it should not be done. Instead, the DNS names should be placed in the Subject Alternate Names (SANs)"

My question is... where is it deprecated? Can I get a link to the RFC where that behaviour is deprecated and the line that deprecates that behaviour?

From what I've seen what's most common is... if you're doing one domain that domain is set to the commonName and no subjAltNames is present. When multiple domains are done, however, subjAltName is used.

1 Answer 1

5

RFC6125, 6.4.4 (from 2011):

.... the client MAY as a last resort check
for a string whose form matches that of a fully qualified DNS domain
name in a Common Name field of the subject field (i.e., a CN-ID)

RC2818, 3.1 (from 2000):

...Although
the use of the Common Name is existing practice, it is deprecated and
Certification Authorities are encouraged to use the dNSName instead.

Apart from that, not everything is regulated through RFCs. If CAs and browsers agree to a behavior they don't need to write an RFC an each case.

2
  • 1
    "If CAs and browsers agree to a behavior they don't need to write an RFC an each case." Confused a little. Shouldn't this say "If CAs and browsers agree to a behavior they don't need to observe an RFC." in context of the post. Not saying what you said is wrong. Just it's confusing in this context. Well I guess the 2011 one undeprecates it? Commented Nov 18, 2016 at 23:04
  • @meffect: when the RFC says that someone MAY do something, it means it's not required and that even if you don't do it you still observe the RFC. CA and browsers can't choose to NOT observe an RFC, but they can be stricter than the RFC and say that they don't support some optional behavior from RFC or that they require some behavior which is optional in RFC.
    – Honza
    Commented Sep 14, 2020 at 12:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .