HP-UX IPSec version A.02.01 Administrator's Guide

Using Certificates with HP-UX IPSec
Step 3: Adding the Certificates
Chapter 5162
Step 3: Adding the Certificates
After you receive files containing the certificates for the local system and
the CA, use the ipsec_config add cert command to extract the
certificates and add the certificates to the HP-UX IPSec storage scheme.
The ipsec_config add cert command stores the certificates for the
local system and the CA in the file /var/adm/ipsec/ipsec.cert.
ipsec_config add cert Syntax
The add cert functionality is not supported in ipsec_config batch
files. Use the following ipsec_config add cert syntax to add the
certificates for the local system and the CA to the HP-UX IPSec storage
scheme:
ipsec_config add cert -mycert
mycert_filename
-cacert
cacert_filename
-mycert
mycert_filename
The name of the file containing the base64-encoded certificate for the
local system.
Default: None.
-cacert
cacert_filename
The name of the file containing the base64-encoded certificate for the
CA.
Default: None.
Example
The following command extracts certificates for the local system and the
CA from the files received from the CA (hostA.pem and cacert.pem) and
stores them in the HP-UX IPSec file, /var/adm/ipsec/ipsec.cert:
ipsec_config add cert -mycert /tmp/hostA.pem \
-cacert /tmp/cacert.pem