主题
Syntax
主题[common-name ] [country ] [locality ] [org ] [org-unit ] [state ]
Description
Sets the subject fields for the current leaf certificate. If thecommon-nameparameter is not specified, then you are prompted to define a value for each field. If a configured value exists for any field, it is presented as the default.
The subject fields of the default certificatelocal-certcannot be changed.
Command context
config-cert-
Parameters
-
common-name - Specifies the common name.
-
国家 - Specifies the region.
-
locality - Specifies the locality.
-
org - 指定组织.
-
org-unit - 指定组织al unit.
-
state - Specifies the state.
Authority
Administrators or local user group members with execution rights for this command.
Examples
Setting subject fields for the leaf certificateleaf-cert:
switch(config-cert-leaf-cert)#主题common-name Leaf01 country US locality CA org Company org-unit Site state CA
Setting subject fields for the leaf certificateleaf-certinteractively:
switch(config-cert-leaf-cert)#主题Do you want to use the switch serial number as the common name (y/n)?nEnter Common Name :Leaf01Enter Org Unit :SiteEnter Org Name :公司Enter Locality :RocklinEnter State :CAEnter Country :USswitch(config-cert-leaf-cert)#