summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorHakan Olsson <ho@cvs.openbsd.org>2001-08-22 15:37:56 +0000
committerHakan Olsson <ho@cvs.openbsd.org>2001-08-22 15:37:56 +0000
commit524fd2844131d6fa25f33caa84299445e5afcbcc (patch)
treef54a9f18ba0dc9e98b6349cbeb19882bd66d59a0 /sbin
parent27ae4a770602590fdf539d066202acfae147166a (diff)
Add an example.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/isakmpd/apps/keyconv/keyconv.813
1 files changed, 11 insertions, 2 deletions
diff --git a/sbin/isakmpd/apps/keyconv/keyconv.8 b/sbin/isakmpd/apps/keyconv/keyconv.8
index 9712237fcc2..68749c4505e 100644
--- a/sbin/isakmpd/apps/keyconv/keyconv.8
+++ b/sbin/isakmpd/apps/keyconv/keyconv.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: keyconv.8,v 1.1 2001/08/22 15:29:54 ho Exp $
+.\" $OpenBSD: keyconv.8,v 1.2 2001/08/22 15:37:55 ho Exp $
.\"
.\" Copyright (c) 2001 Hakan Olsson. All rights reserved.
.\"
@@ -66,12 +66,21 @@ Convert from OpenSSL to DNSSEC format. In this mode,
.Nm
outputs both the DNSSEC private key, plus a "outfile.pubkey"
file containing the public key in a format suitable for inclusion
-in a DNS database file.
+in a DNS database.
.El
.Pp
The
.Nm dnssec-keygen
command is supplied as part of BIND version 8 and 9.
+.Sh EXAMPLES
+Create a new RSA key for usage both in
+.Xr isakmpd 8
+and DNSSEC.
+.Pp
+.Bd -literal -offset 2n
+$ openssl genrsa -out testkey.ssl 1024
+$ keyconv -d testkey.ssl testkey.dns
+.Ed
.Sh SEE ALSO
.Xr isakmpd 8 ,
.Xr openssl 1 ,