To use your HSM as a PKCS#11 module, you need to edit Utimaco’s PKCS#11 configuration file. If you have installed the HSM Simulator, an environment variable called CS_PKCS11_R2_CFG has already been created.
If you have not installed the simulator, you should create this variable. To set the environment variable in Windows you must open System, then click on Advanced system settings, then click the button Environment Variables and finally add the path to your configuration file by clicking New…:
Variable Name: CS_PKCS11_R2_CFG
Variable Value: <The path to your configuration file>
(e.g. C:\Program Files\Utimaco\CryptoServer\Lib\cs_pkcs11_R2.cfg)