Syntax of Subject Alternative Names field in a certificate
Andreas Maier <[email protected]> Tue, 16 Apr 2024 12:12:04 +0000
| Newsgroups | gmane.ietf.x509 |
|---|---|
| Message-ID | <BY1PR15MB6150B48C505432B45AC299F5EF082@BY1PR15MB6150.namprd15.prod.outlook.com> |
Hi, I am trying to understand what the syntax is for the string value of the Subject Alternative Names field, particularly when it contains multiple entries.
I was hopeful to find that in https://datatracker.ietf.org/doc/html/rfc5280 which as a section 4.2.1.6<https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.6> “Subject Alternative Name” but I could not get that out of the syntax description in there.
I can find examples which seem to suggest it is a comma-separated list of items, each of which has a type indicator (e.g. “DNS”), as in:
DNS:{hostname1},IP:{ip2},email:{email},URI:{uri4}
Some sources for the examples:
* https://www.openssl.org/docs/man1.0.2/man5/x509v3_config.html
* https://support.hpe.com/hpesc/public/docDisplay?docId=sf000094754en_us&docLocale=en_US&page=index.html
* https://www.linode.com/docs/guides/using-openssls-subjectaltname-with-multiple-site-domains/ use:
Where is the syntax of the Subject Alternative Names field documented in an RFC?
Are the type indicators mandatory or optional?
Kind regards,
Andy
_______________________________________________
pkix mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/pkix