If you have problems connecting to the HSM, it is a good idea to make sure that your HSM is configured properly.
-
Verify your HSM is running
>_Console
export CRYPTOSERVER=288@<ipaddr>csadm GetState -
Make sure your configuration file is configured according to your HSM (e.g. you typed in the correct IP address)
>_Console
p11tool2 GetSlotInfo=status -
Verify that you are using the right libcs_pkcs11_R2.so, there are 32-bit and 64-bit versions.
-
Verify that the slot label set with the
Label=…parameter agrees with the pki_token_name attribute in thepkispawn.conffile.