Pki Import-Certificate; Pki Request-Certificate Domain - H3C S5120-SI Series Command Reference Manual

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

<Sysname> system-view
[Sysname] pki entity en
[Sysname-pki-entity-en]

pki import-certificate

Syntax
pki import-certificate { ca | local } domain domain-name { der | p12 | pem } [ filename filename ]
View
System view
Default Level
2: System level
Parameters
ca: Specifies the CA certificate.
local: Specifies the local certificate.
domain-name: Name of the PKI domain, a string of 1 to 15 characters.
der: Specifies the certificate format of DER.
p12: Specifies the certificate format of P12.
pem: Specifies the certificate format of PEM.
filename filename: Specifies the name of the certificate file, which is a case-insensitive string of 1 to
127 characters. It defaults to domain-name_ca.cer, or domain-name_local.cer the name for the file to
be created to save the imported certificate.
Description
Use the pki import-certificate command to import a CA certificate or local certificate from a file and
save it locally.
Related commands: pki domain.
Examples
# Import the CA certificate for PKI domain cer in the format of PEM.
<Sysname> system-view
[Sysname] pki import-certificate ca domain cer pem

pki request-certificate domain

Syntax
pki request-certificate domain domain-name [ password ] [ pkcs10 [ filename filename ] ]
View
System view
1-21

Advertisement

Table of Contents
loading

Table of Contents