Parameter
Description
Example
pki entity
Syntax
View
Parameter
Description
Example
pki import-certificate
Syntax
View
Parameter
Domain-name: PKI domain name, a case-insensitive string of 1 to 15 characters.
Use the
command to create a PKI domain and enter PKI domain view
pki domain
or enter the view of an existing PKI domain.
Use the
undo pki domain
By default, no PKI domain exists.
# Create a PKI domain and enter its view.
<Sysname> system-view
[Sysname] pki domain 1
[Sysname-pki-domain-1]
pki entity entity-name
undo pki entity entity-name
System view
entity-name: Name for the entity, a case-insensitive string of 1 to 15 characters.
Use the
command to create a PKI entity and enter its view.
pki entity
Use the
undo pki entity
By default, no entity exists.
You can configure a variety of attributes for an entity in PKI entity view. An entity is
intended only for convenience of reference by other commands.
# Create a PKI entity named en and enter its view.
<Sysname> system-view
[Sysname] pki entity en
[Sysname-pki-entity-en]
pki import-certificate { ca | local } domain domain-name { der | p12 | pem }
[ filename filename ]
System view
ca: Specifies a CA certificate.
local: Specifies a local certificate.
command to remove a PKI domain.
command to remove a PKI entity.
2059