Configure Device Subject Parameters

About this task

Use this procedure to configure the device subject parameters to identify the device, such as the name, Email ID, company, department, location, and subject name.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Configure the subject parameters of the device:

    certificate subject {[common-name WORD<0–64>] [country WORD<2-2>] [e-mail WORD<0-254>] [locality WORD<0-128>] [organization WORD<0-64>] [province WORD<0-128>] [subject-name WORD<1-45>] [unit WORD<0-64>]}

  3. Verify the subject names configured on the switch:

    show certificate subject

Example

Configuring subject parameters:

Switch:1>enable
Switch:1#configure terminal
Switch:1(config)# certificate subject common-name 822-pki e-mail client1@extemenetworks.com unit Engineering 
organization ExtremeNetworks locality Salem province Massachusetts country US subject-name 822

View the configuration.

Switch:1>show certificate subject
Subject Name        : 822
Common Name         : 822-pki
Email Address       : client1@extemenetworks.com
Organizational Unit : Engineering
Organization        : ExtremeNetworks
Locality            : Salem
Province            : Massachusetts
Country             : US

Subject Name        : 823
Common Name         : 823-pki
Email Address       : client1@extemenetworks.com
Organizational Unit : Engineering
Organization        : ExtremeNetworks
Locality            : Salem
Province            : Massachusetts
Country             : US

Subject Name        : Global
Common Name         : 821
Email Address       : client1@extemenetworks.com
Organizational Unit : Engineering
Organization        : ExtremeNetworks
Locality            : Salem
Province            : Massachusetts
Country             : US

Variable Definitions

The following table defines parameters for the certificate subject command.

Variable

Value

common-name WORD<0–64>

Specifies the name of the subject sending the Certificate Signing Request to the Certificate Authority.

country WORD<2-2>

Specifies the country of the subject sending the Certificate Signing Request to the Certificate Authority.

e-mail WORD<0-254>

Specifies the Email address of the subject sending the Certificate Signing Request to the Certificate Authority.

locality WORD<0-128>

Specifies the locality of the subject sending the Certificate Signing Request to the Certificate Authority.

organization WORD<0-64>

Specifies the organization of the subject sending the Certificate Signing Request to the Certificate Authority.

province WORD<0-128>

Specifies the state or province of the subject sending the Certificate Signing Request to the Certificate Authority.

subject-name WORD<1-45>

Note:

Exception: Not supported on VSP 8600 Series.

Specifies the Subject Identity Label to be used in local digital certificate request.

You can configure up to 10 subject DN identities. If a subject name is not specified, the default subject name is Global.

unit WORD<0-64>

Specifies the organizational unit of the subject sending the Certificate Signing Request to the Certificate Authority.