Using Mutual Authentication for Communication Between the Database Firewall and the Host Monitor Agent
By default, the Database Firewall allows the Host Monitor Agent connection based on one-way authentication. To provide mutual authentication, follow these steps after installing the Host Monitor Agent.
-
Log in to the Audit Vault Server through SSH and switch to the
rootuser.See Logging In to Oracle DBSecCentral Appliances Through SSH.
-
Run the following command to create oracle wallet and certificate:
sudo -u avdf_api_pki_manage /opt/avdf/bin/generate_hmwallet.py <hostname>Replace <hostname> with the host name of the machine on which host monitor is present.
-
Copy the wallet contents(
cwallet.sso) toHOSTMON_HOME/hm_fw_walleton the host monitor machine.You will have to create the
hm_fw_walletdirectory as it does not exist by default. -
(Unix hosts only) As
rooton the host monitor machine, run the following commands:chown root:root HOSTMON_HOME/hm_fw_wallet/*For AIX you should replace
root:rootwithroot:system.chmod 400 HOSTMON_HOME/hm_fw_wallet/* -
(Windows hosts only) Ensure that above wallet contents have agent user ownership and appropriate permissions to prevent unwanted user access.
-
Repeat steps one to five for every Host Monitor Agent that is using the Database Firewall.
-
On the Database Firewall, log in as
rootand run the following commands:cp /etc/pki/tls/certs/dbfw-ca.crt /usr/local/dbfw/etc/fw_ca.crtchown arbiter:arbiter /usr/local/dbfw/etc/fw_ca.crtchmod 400 /usr/local/dbfw/etc/fw_ca.crtIf more than one Database Firewall is used, repeat this step for each Database Firewall.
-
Restart all the running network trails for which above changes were applied.
Related Topics