-
Notifications
You must be signed in to change notification settings - Fork 386
Usage
Mehtab edited this page Aug 11, 2025
·
2 revisions
To initialize a new token:
softhsm2-util --init-token --slot 0 --label "MyToken"You will be prompted for a Security Officer (SO) PIN and a user PIN.
To list available tokens and slots:
softhsm2-util --show-slotsYou can use SoftHSMv2 as a PKCS#11 provider with compatible applications (e.g., OpenSSL, OpenSC).
-
SOFTHSM2_CONF: Path to the configuration file (default:/etc/softhsm2.conf)
See the Configuration page for details on setting up the config file.