beautypg.com

Certificate commands – HP Secure Key Manager User Manual

Page 262

background image

Certificate commands

cert import – import a certificate.

Syntax

The certificate import process varies between SKMs.
hostname# cert import
Please pick the upload option for uploading your certificate:
1) Console Paste (PEM certs only)
2) FTP
3) SCP
Upload Type (1-3)?

:

Enter cert name:
Enter the password protecting the private key:
Please perform these 2 steps to finish importing a PEM encoded

certificate and key:
1) Paste the PEM encoded certificate and private key (in any

order) immediately after the question mark
2) Press return three times when you are done
?

IMPORTANT:

There is a line at the top of all certificates that includes 5 dashes, the words BEGIN

CERTIFICATE, and 5 more dashes. The line looks like the following: -----BEGIN

CERTIFICATE----- . If any one of those dashes is missing, the certificate import

operation will fail. Likewise, at the end of the certificate, there is a line that includes

5 dashes, the words END CERTIFICATE, and 5 more dashes. The line looks like

the following: -----END CERTIFICATE----- . These same issues pertain to

the private key as well.

Related

command(s)

cert request
cli-show-request
no request
no certificate
cert install
show cert
cert selfsign install

cert request – create a certificate request.

262

Using the Command Line Interface