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, and location.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Configure the subject parameters of the device:

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

Example

Configuring subject parameters:

Switch:1>enable
Switch:1#configure terminal
Switch:1(config)# certificate subject common-name Self e-mail example@company.com unit Engineering organization Company locality SanFrancisco province California 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 province of the subject sending the Certificate Signing Request to the Certificate Authority.

unit WORD<0-64>

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