Configuring root of factories services
Before you set up root of factories services, the Secure Factory Service database must be up and running in the secure room and your HSMs must be set up.
To configure root of factories services:
-
Set the parameters in the
service-deployment/rof/config.properties
file:############################################################ # Root Of Factories Configuration ############################################################ # HSM Server's addresses HSM_SERVER_1= HSM_SERVER_2= # Secure-Room home directory FACTORY_HOME_DIR=
-
Set the
HSM_SERVER_1
andHSM_SERVER_2
values to<new-hsm-hostname-1.domain.com>
and<new-hsm-hostname-2.domain.com>
.Development note: To use a software HSM for development purposes, leave the
HSM_SERVER_1
andHSM_SERVER_2
lines blank in theservice-deployment/rof/config.properties
file and add a new line withHSM_TYPE=db
. -
Set the
FACTORY_HOME_DIR
to the Secure Factory Service installation path.You can override the FACTORY_HOME_DIR value by setting an environment variable:
export FACTORY_HOME_DIR=<Secure Factory Service installation path>
-