2 .\" Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH WANBOOT_KEYGEN 1M "Apr 18, 2003"
8 wanboot_keygen \- create and display client and server keys for WAN booting
12 \fB/usr/lib/inet/wanboot/keygen\fR \fB-c\fR \fB-o\fR net=\fIa.b.c.d\fR ,cid=\fIclient_ID\fR,type=3des
17 \fB/usr/lib/inet/wanboot/keygen\fR \fB-c\fR \fB-o\fR net=\fIa.b.c.d\fR ,cid=\fIclient_ID\fR,type=aes
22 \fB/usr/lib/inet/wanboot/keygen\fR \fB-m\fR
27 \fB/usr/lib/inet/wanboot/keygen\fR \fB-c\fR \fB-o\fR net=\fIa.b.c.d\fR ,cid=\fIclient_ID\fR,type=sha1
32 \fB/usr/lib/inet/wanboot/keygen\fR \fB-d\fR \fB-m\fR
37 \fB/usr/lib/inet/wanboot/keygen\fR \fB-c\fR \fB-o\fR net=\fIa.b.c.d\fR ,cid=\fIclient_ID\fR,type=\fIkeytype\fR
43 The \fBkeygen\fR utility has three purposes:
48 Using the \fB-c\fR flag, to generate and store per-client 3DES/AES encryption
49 keys, avoiding any DES weak keys.
55 Using the \fB-m\fR flag, to generate and store a "master" HMAC SHA-1 key for
56 WAN install, and to derive from the master key per-client HMAC SHA-1 hashing
57 keys, in a manner described in RFC 3118, Appendix A.
63 Using the \fB-d\fR flag along with either the \fB-c\fR or \fB-m\fR flag to
64 indicate the key repository, to display a key of type specified by
65 \fIkeytype\fR, which must be one of \fB3des\fR, \fBaes\fR, or \fBsha1\fR.
69 The \fBnet\fR and \fBcid\fR arguments are used to identify a specific client.
70 Both arguments are optional. If the \fBcid\fR option is not provided, the key
71 being created or displayed will have a per-network scope. If the \fBnet\fR
72 option is not provided, then the key will have a global scope. Default net and
73 code values are used to derive an HMAC SHA-1 key if the values are not provided
78 The following options are supported:
85 Generate and store per-client 3DES/AES encryption keys, avoiding any DES weak
86 keys. Also generates and stores per-client HMAC SHA-1 keys. Used in conjunction
96 Display a key of type specified by \fIkeytype\fR, which must be one of
97 \fB3des\fR, \fBaes\fR, or \fBsha1\fR. Use \fB-d\fR with \fB-m\fR or with
98 \fB-c\fR and \fB-o\fR.
107 Generate and store a "master" HMAC SHA-1 key for WAN install.
116 Specifies the WANboot client and/or keytype.
121 \fBExample 1 \fRGenerate a Master HMAC SHA-1 Key
131 \fBExample 2 \fRGenerate and Then Display a Client-Specific Master HMAC SHA-1
136 # keygen -c -o net=172.16.174.0,cid=010003BA0E6A36,type=sha1
137 # keygen -d -c -o net=172.16.174.0,cid=010003BA0E6A36,type=sha1
143 \fBExample 3 \fRGenerate and Display a 3DES Key with a Per-Network Scope
147 # keygen -c -o net=172.16.174.0,type=3des
148 # keygen -d -o net=172.16.174.0,type=3des
160 Successful operation.
175 See \fBattributes\fR(5) for descriptions of the following attributes:
183 ATTRIBUTE TYPE ATTRIBUTE VALUE
185 Interface Stability Obsolete