Configure Subject Alternative Names
About this task
Use this procedure to protect additional host names with a single certificate.
Note
The switch supports 100 subject alternative names.
Procedure
Examples
Configure a subject alternative name for an email address and an IP address.
Switch:1>enable Switch:1#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch:1(config)#certificate subject-alternative-name e-mail name@company.com Switch:1(config)#certificate subject-alternative-name ip 192.0.2.22
View the configuration.
Switch:1>show certificate subject-alternative-name ========================================================================================== SAN Table ========================================================================================== TYPE NAME ------------------------------------------------------------------------------------------ e-mail name@company.com ip 192.0.2.22
Variable Definitions
The following table defines parameters for the certificate subject-alternative-name command.
Variable | Value |
---|---|
<dns | e-mail | ip> | Specifies the type of subject alternative name to add. |
WORD<1-255> | Specifies the alternative name to add to the subject alternative name table. |