aboutsummaryrefslogtreecommitdiffstats
path: root/SoftHSMv2/src/bin/keyconv/softhsm2-keyconv.1
blob: b716bc8bf40e206ad070fdcfacab94e380315dda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
.TH SOFTHSM2-KEYCONV 1 "20 March 2014" "SoftHSM"
.SH NAME
softhsm2-keyconv \- converting from BIND to PKCS#8 key file format
.SH SYNOPSIS
.B softhsm2-keyconv
.B \-\-in
.I path
.B \-\-out
.I path
.RB [ \-\-pin
.IR PIN ]
.SH DESCRIPTION
.B softhsm2-keyconv
can convert BIND .private-key files to the PKCS#8 file format.
This is so that you can import the PKCS#8 file into
libsofthsm using the command
.BR softhsm2\-util .
If you have another file format, then
.B openssl
probably can help you to convert it into the PKCS#8 file format.
.SH OPTIONS
.B \-\-help\fR, \fB\-h\fR
Shows the help screen.
.TP
.B \-\-in \fIpath\fR
The 
.I path
to the input file.
.TP
.B \-\-out \fIpath\fR
The
.I path
to the output file.
.TP
.B \-\-pin \fIPIN\fR
The
.I PIN
will be used to encrypt the PKCS#8 file.
If not given then the PKCS#8 file will be unencrypted.
.TP
.B \-\-version\fR, \fB\-v\fR
Show the version info.
.SH EXAMPLES
The following command can be used to convert a BIND .private-key file to a PKCS#8 file:
.LP
.RS
.nf
softhsm2-keyconv \-\-in Kexample.com.+007+05474.private \\
.ti +0.7i
\-\-out rsa.pem
.fi
.RE
.LP
.SH AUTHORS
Written by Rickard Bellgrim, Francis Dupont, René Post, and Roland van Rijswijk.
.SH "SEE ALSO"
.IR softhsm2-migrate (1),
.IR softhsm2-util (1),
.IR softhsm2.conf (5),
.IR openssl (1),
.IR named (1),
.IR dnssec-keygen (1),
.IR dnssec-signzone (1)