Security Architecture

A load balancer must present one certificate valid for www.example.com, shop.example.com and api.example.net. Which extension should carry these hostnames?

Show the answer

Correct answerD. Subject Alternative Name

AWhy not this: Authority Key Identifier identifies the issuing CA's key to help build the chain, not the subject's names.

BWhy not this: Key Usage defines cryptographic operations such as signing or key encipherment, not hostnames.

CWhy not this: Name Constraints appears in CA certificates and limits the namespaces a subordinate CA may issue for.

DWhy this is right: Subject Alternative Name holds multiple DNS names and is what clients check for hostname matching.

The Subject Alternative Name extension lists multiple DNS names, IPs or other identities that a single certificate is valid for, and modern clients validate hostnames against it. Name Constraints is placed in CA certificates to limit which names that CA may issue, not to name a server's hostnames.