$ sudo systemctl enable pkcsslotd.service
Synchronizing state of pkcsslotd.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable pkcsslotd
$ sudo systemctl start pkcsslotd.service
$ sudo pkcsconf
usage: pkcsconf [-itsmIupPh] [-c slotnumber -U userPIN -S SOPin -n newpin]
-i display PKCS11 info
-t display token info
-s display slot info
-m display mechanism list
-l display slot description
-I initialize token
-u initialize user PIN
-p set the user PIN
-P set the SO PIN
-h show this help
$ sudo pkcsconf -t
Segmentation fault
$ sudo pkcsconf -i
PKCS#11 Info
Version 2.20
Manufacturer: IBM
Flags: 0x0
Library Description: Meta PKCS11 LIBRARY
Library Version 3.7
Segmentation fault
$ sudo pkcsconf -s
Slot #1 Info
Description: Linux
Manufacturer: IBM
Flags: 0x1 (TOKEN_PRESENT)
Hardware Version: 0.0
Firmware Version: 0.0
Slot #2 Info
Description: Linux
Manufacturer: IBM
Flags: 0x1 (TOKEN_PRESENT)
Hardware Version: 0.0
Firmware Version: 0.0
Slot #3 Info
Description: Linux
Manufacturer: IBM
Flags: 0x1 (TOKEN_PRESENT)
Hardware Version: 0.0
Firmware Version: 0.0
Segmentation fault
after initial install and config of pkcs11:
$ sudo apt install opencryptoki libtspi1
$ sudo usermod -aG pkcs11 ubuntu
$ grep pkcs11 /etc/group x:118:root, ubuntu
pkcs11:
$ sudo systemctl enable pkcsslotd.service systemd- sysv-install. systemd- sysv-install enable pkcsslotd
Synchronizing state of pkcsslotd.service with SysV service script with /lib/systemd/
Executing: /lib/systemd/
$ sudo systemctl start pkcsslotd.service
$ sudo pkcsconf
usage: pkcsconf [-itsmIupPh] [-c slotnumber -U userPIN -S SOPin -n newpin]
-i display PKCS11 info
-t display token info
-s display slot info
-m display mechanism list
-l display slot description
-I initialize token
-u initialize user PIN
-p set the user PIN
-P set the SO PIN
-h show this help
$ sudo pkcsconf -t
Segmentation fault
$ sudo pkcsconf -i
PKCS#11 Info
Version 2.20
Manufacturer: IBM
Flags: 0x0
Library Description: Meta PKCS11 LIBRARY
Library Version 3.7
Segmentation fault
$ sudo pkcsconf -s
Slot #1 Info
Description: Linux
Manufacturer: IBM
Flags: 0x1 (TOKEN_PRESENT)
Hardware Version: 0.0
Firmware Version: 0.0
Slot #2 Info
Description: Linux
Manufacturer: IBM
Flags: 0x1 (TOKEN_PRESENT)
Hardware Version: 0.0
Firmware Version: 0.0
Slot #3 Info
Description: Linux
Manufacturer: IBM
Flags: 0x1 (TOKEN_PRESENT)
Hardware Version: 0.0
Firmware Version: 0.0
Segmentation fault