Configuring HP-UX IPSec

Using ipsec_config

ipsec_config delete

The ipsec_config delete command deletes objects from the configuration and runtime databases. For example, the following command deletes the host IPSec policy my_host_policy from the configuration database:

ipsec_config delete host my_host_policy

ipsec_config show

The ipsec_config delete command displays objects in the configuration database. For example, the following command displays the host IPSec policies in the configuration database:

ipsec_config show host

The ipsec_config show all command displays the entire contents of the database.

Profile File

An ipsec_config profile file contains default argument values that are evaluated in ipsec_config add commands if the user does not specify the values in the command. The values are evaluated once, when the policy is added to the configuration database. Values used from the profile file become part of the configuration record for the policy.

You can specify a profile file name with the -profileargument as part of an ipsec_config command. By default, ipsec_config uses the /var/adm/ipsec/.ipsec_profile profile file, which is shipped with HP-UX IPSec. In most topologies, you can use the default values supplied in the /var/adm/ipsec/.ipsec_profile file.

HP-UX IPSec also has internal default values that are the same as the values in the /var/adm/ipsec/.ipsec_profile file shipped with the product. If the /var/adm/ipsec/.ipsec_profile file does not exist and the user does not specify an alternate profile file, HP-UX IPSec uses its internal default values.

Chapter 3

63