Setting up the environment

In order for the library to find the configuration file, set the CS_PKCS11_R2_CFG environment variable to point at the configuration file, and the CRYPTOSERVER environment variable to point at the HSM (Simulator, CSLAN or PCIe):

>_Console

$ export CS_PKCS11_R2_CFG=/opt/cs/pkcs11_r2/cs_pkcs11_R2.cfg
$ export CRYPTOSERVER=288@10.10.10.200