2048
C
134: PKI C
HAPTER
Example
common-name
Syntax
View
Parameter
Description
Example
country
Syntax
View
Parameter
Description
Example
C
ONFIGURATION
OMMANDS
# Specify the URL of the server for certificate request.
<Sysname> system-view
[Sysname] pki domain 1
[Sysname-pki-domain-1] certificate request url
http://169.254.0.100/certsrv/mscep/mscep.dll
common-name name
undo common-name
PKI entity view
name: Common name of an entity, a case-insensitive string of 1 to 31 characters.
No comma can be included.
Use the
common-name
which can be, for example, the user name
Use the
undo common-name
By default, no common name is specified.
# Configure the common name of an entity as test.
<Sysname> system-view
[Sysname] pki entity 1
[Sysname-pki-entity-1] common-name pki test
country country-code-str
undo country
PKI entity view
country-code-str: Country code for the entity, a 2-character case-insensitive string.
Use the
country
belongs. It is a standard 2-character code, for example, CN for China.
Use the
undo country
By default, no country code is specified.
# Set the country code of an entity to CN.
command to configure the common name of an entity,
command to remove the configuration.
command to specify the code of the country to which an entity
command to remove the configuration.