1

I saw in RFC 4514 that it specifies that the Distinguished Name must support the following short names.

CN commonName (2.5.4.3) L localityName (2.5.4.7) ST stateOrProvinceName (2.5.4.8) O organizationName (2.5.4.10) OU organizationalUnitName (2.5.4.11) C countryName (2.5.4.6) STREET streetAddress (2.5.4.9) DC domainComponent (0.9.2342.19200300.100.1.25) UID userId (0.9.2342.19200300.100.1.1)

As we can see, the short name "emailAddress" is not included. So I would like to ask if RFC 5280 specifies "emailAddress" as one of the short names that must be supported in a Distinguished Name?

1 Answer 1

2

RFC 5280 doesn't require to support Email component (1.2.840.113549.1.9.1). However, RFC makes the following note (§4.1.2.4):

As noted above, distinguished names are composed of attributes. This specification does not restrict the set of attribute types that may appear in names. However, conforming implementations MUST be prepared to receive certificates with issuer names containing the set of attribute types defined below. This specification RECOMMENDS support for additional attribute types.

This quote has several implications:

  • No restriction on what RDNs may appear in RDN sequence
  • Some RDNs MUST be supported by implementations
  • Recommends support for not listed RDNs (including, but limited to X.520), which suggests that application SHALL NOT fail if they face unknown RDN.

In reality, Email RDN is widely supported by many RFC 5280 implementation because this attribute was used by S/MIME-capable applications, such as email clients and servers. Though, it is worth to mention that Email attribute inclusion or omission in Subject field may have no effect when certificate contains SAN extension. DirectoryName ASN.1 type natively supports rfc822Name name type for email addresses. That is, when email must be included in a certificate, it MUST be populated in SAN extension. Optionally (not required), it can be duplicated in Subject field.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.