You should initialize a slot with a custom label using p11tool2.
-
Using
p11tool2, create the SO or Security Officer. -
Using the
p11tool2command, initialize the slot that you want to use, as well as the slot user, as shown below.
# ./p11tool2 slot=<slot_no> Label=<token_label> Login=ADMIN,ADMIN.key InitToken=<SO_PIN>
# ./p11tool2 slot=0 LoginSO=<SO_PIN> InitPin=<CryptoUser_PIN>
This CryptoUser PIN is the slot PIN that will be used in this guide for every crypto operation.