1SOFTHSM2-KEYCONV(1) General Commands Manual SOFTHSM2-KEYCONV(1)
2
3
4
6 softhsm2-keyconv - converting from BIND to PKCS#8 key file format
7
9 softhsm2-keyconv --in path --out path [--pin PIN]
10
12 softhsm2-keyconv can convert BIND .private-key files to the PKCS#8 file
13 format. This is so that you can import the PKCS#8 file into libsofthsm
14 using the command softhsm2-util. If you have another file format, then
15 openssl probably can help you to convert it into the PKCS#8 file for‐
16 mat.
17
19 --help, -h Shows the help screen.
20
21 --in path
22 The path to the input file.
23
24 --out path
25 The path to the output file.
26
27 --pin PIN
28 The PIN will be used to encrypt the PKCS#8 file. If not given
29 then the PKCS#8 file will be unencrypted.
30
31 --version, -v
32 Show the version info.
33
35 The following command can be used to convert a BIND .private-key file
36 to a PKCS#8 file:
37
38 softhsm2-keyconv --in Kexample.com.+007+05474.private \
39 --out rsa.pem
40
42 Written by Rickard Bellgrim, Francis Dupont, René Post, and Roland van
43 Rijswijk.
44
46 softhsm2-migrate(1), softhsm2-util(1), softhsm2.conf(5), openssl(1),
47 named(1), dnssec-keygen(1), dnssec-signzone(1)
48
49
50
51SoftHSM 20 March 2014 SOFTHSM2-KEYCONV(1)