506
Predefined user roles
network-admin
Parameters
state-name: Specifies a state or province by its name, a case-sensitive string of 1 to 63 characters.
No comma can be included.
Examples
# Set the state name to countryA for PKI entity en.
<Sysname> system-view
[Sysname] pki entity en
[Sysname-pki-entity-en] state countryA
subject-dn
Use subject-dn to configure the DN for a PKI entity.
Use undo subject-dn to restore the default.
Syntax
subject-dn dn-string
undo subject-dn
Default
No DN is configured for a PKI entity.
Views
PKI entity view
Default command level
network-admin
Parameters
dn-string: Specifies the DN for the PKI entity, a case-insensitive string of 1 to 511 characters.
Usage guidelines
The subject DN string is a sequence of attribute=value pairs separated by commas. Each attribute
can be specified multiple times with different values. Supported DN attributes are:
• CN—Common-name.
• C—Country code.
• L—Locality.
• O—Organization.
• OU—Organization unit.
• ST—State or province.
After this command is configured, the following commands do not take effect:
• common-name
• country
• locality
• organization
• organization-unit
• state