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
If you configure this command multiple times, the most recent configuration takes effect.
Examples
# Configure the DN for PKI entity en.
<Sysname> system-view
[Sysname] pki entity en
[Sysname-pki-entity-en] subject-dn
CN=test,C=CN,O=abc,OU=rdtest,OU=rstest,ST=countryA,L=pukras
Related commands
common-name
country
locality
organization
organization-unit
state
usage
Use usage to specify the extensions for certificates.
Use undo usage to remove certificate extensions.
Syntax
usage { ike | ssl-client | ssl-server } *
undo usage [ ike | ssl-client | ssl-server ] *
454