413
Parameters
entity-name
: Specifies a name for a PKI entity, a case-insensitive string of 1 to 31 characters.
Usage guidelines
A PKI entity includes the identity information that can be used by a CA to identify a certificate
applicant. You can configure multiple attributes for a PKI entity, such as common name, organization,
organization unit, locality, state, country, FQDN, and IP address. The information will be included as
subject contents in the certificate issued by the CA.
Examples
# Create a PKI entity named
en
and enter its view.
<Sysname> system-view
[Sysname] pki entity en
[Sysname-pki-entity-en]
Related commands
pki domain
pki export
Use
pki export
to export the CA certificate and the local certificates in a PKI domain.
Syntax
pki export
domain domain
-
name
der
{
all
|
ca
|
local
}
filename filename
pki export
domain domain
-
name p12
{
all
|
local
}
passphrase p12-key filename filename
pki export
domain domain
-
name pem
{ {
all
|
local
} [ {
3des-cbc
|
aes-128-cbc
|
aes-192-cbc
|
aes-256-cbc
|
des-cbc
}
pem-key
]
|
ca
} [
filename filename
]
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
domain-name
: Specifies a PKI domain by its name, a case-insensitive string of 1 to 31 characters.
The domain name cannot contain the special characters listed in
Table 53 Special characters
Character name
Symbol
Character name
Symbol
Tilde
~
Dot
.
Asterisk
*
Left angle bracket
<
Backslash
\
Right angle bracket
>
Vertical bar
|
Quotation marks
"
Colon
:
Apostrophe
'
der
: Specifies the DER certificate file format, including PKCS#7.
p12
: Specifies the PKCS#12 certificate file format.
pem
: Specifies the PEM certificate file format.