Initialize a Slot

  1. Initialize a slot with a custom label using the p11tool2.

  2. Create the SO or Security Officer using p11tool2. Then, using the p11tool2 command, initialize the slot that you want to use and the slot user, as shown below:

$ ./p11tool2 slot=<slot_no> Label=<token_label> Login=ADMIN,ADMIN.key InitToken=<SO_PIN>
$ ./p11tool2 slot=<slot_no> LoginSO=<SO_PIN> InitPin=<CryptoUser_PIN>