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

Administering HP-UX IPSec
Re-Creating the Configuration Database
Chapter 6184
Re-Creating the Configuration Database
There are two methods for re-creating the configuration database file
(/var/adm/ipsec/config.db).
Restore the skeleton configuration database file and manually
re-enter the configuration data or use a previously created
ipsec_config batch file to re-create the data.
Use the migration utility, ipsec_migrate. You can use this method
if you still have a policy configuration file from an HP-UX IPSec
release prior to A.02.00 (such as /var/adm/ipsec/policies.txt).
Using the Skeleton Database File
Use this method if you do not have a policy configuration file from a
previous version.
Step 1. Copy the skeleton database file
(/var/adm/ipsec/migration/skeleton.db.020000) to
/var/adm/ipsec/config.db:
cp /var/adm/ipsec/migration/skeleton.db.020000 \
/var/adm/ipsec/config.db
Step 2. Re-run your ipsec_config batch file, if you have one:
ipsec_config batch
batch_file
If you do not have an ipsec_config batch file, you must manually enter
your configuration information.
Using ipsec_migrate
You can only use this method if you still have a configuration file from a
previous release.
Step 1. Stop HP-UX IPSec:
ipsec_admin -stop
Step 2. Re-create the database file by migrating the configuration file from a
previous release, such as a /var/adm/ipsec/policies.txt file: