Create SO User and Initialize a Slot

You must initialize a slot with a custom label using p11tool2.

First, using p11tool2, create the SO or Security Officer, and then, using the p11tool2 command, initialize the slot you want to use and the slot user, as shown below.

›_ Console

#  export CS_PKCS11_R3_CFG="/etc/cs_pkcs11_R3.cfg"

#./p11tool2 [Slot=<slot_id>] [Label=<label>] \

            [Force=<force>] [Login=<admin_name>,<admin_auth_token>] \

            InitToken=<so_pin>
#./p11tool2 [Slot=<slot_id>]  LoginSO=12345678 setpin=12345678,123456789

# ./p11tool2 slot=<slot_no> LoginSO=12345678 InitPin=123456789
# ./p11tool2 slot=<slot_id> Login=123456789 setpin=123456789,1234567890