1SOFTHSM2-MIGRATE(1) General Commands Manual SOFTHSM2-MIGRATE(1)
2
3
4
6 softhsm2-migrate - SoftHSM v1 migration tool
7
9 softhsm2-migrate --db path --token label [--pin PIN --no-public-key]
10
12 softhsm2-migrate is a tool that can migrate SoftHSM v1 databases to
13 PKCS#11. The default HSM is SoftHSM v2, but can be used with other
14 PKCS#11 libraries by using the option --module
15
17 --db path
18 The SoftHSM v1 database that is going to be migrated. The loca‐
19 tion of the token database can be found in the configuration
20 file for SoftHSM v1.
21
22 --help, -h
23 Show the help information.
24
25 --module path
26 Use another PKCS#11 library than SoftHSM.
27
28 --no-public-key
29 Do not migrate the public key.
30
31 --pin PIN
32 The PIN for the normal user.
33
34 --serial number
35 Will use the token with a matching serial number.
36
37 --slot number
38 The database will be migrated to this slot.
39
40 --token label
41 Will use the token with a matching token label.
42
43 --version, -v
44 Show the version info.
45
47 A token database can be migrated with the following command:
48
49 softhsm2-migrate --db /home/user/token.db --token mytoken
50
52 Written by Rickard Bellgrim, Francis Dupont, René Post, and Roland van
53 Rijswijk.
54
56 softhsm2-keyconv(1), softhsm2-util(1), softhsm2.conf(5)
57
58
59
60SoftHSM 20 April 2016 SOFTHSM2-MIGRATE(1)