2 .\" Copyright (c) 2001, 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 IKE.PRESHARED 4 "Oct 15, 2001"
8 ike.preshared \- pre-shared keys file for IKE
12 \fB/etc/inet/secret/ike.preshared\fR
18 The \fB/etc/inet/secret/ike.preshared\fR file contains secret keying material
19 that two \fBIKE\fR instances can use to authenticate each other. Because of the
20 sensitive nature of this data, it is kept in the \fB/etc/inet/secret\fR
21 directory, which is only accessible by root.
24 Pre-shared keys are delimited by open-curly-brace (\fB{\fR) and
25 close-curly-brace (\fB}\fR) characters. There are five name-value pairs
26 required inside a pre-shared key:
34 localidtype IP localidtype IP
35 remoteidtype IP remoteidtype IP
36 localid IP-address localid 10.1.1.2
37 remoteid IP-address remoteid 10.1.1.3
38 key hex-string 1234567890abcdef
43 Comment lines with \fB#\fR appearing in the first column are also legal.
46 Files in this format can also be used by the \fBikeadm\fR(1M) command to load
47 additional pre-shared keys into a running an \fBin.iked\fR(1M) process.
50 \fBExample 1 \fRA Sample ike.preshared File
53 The following is an example of an \fBike.preshared\fR file:
60 # Two pre-shared keys between myself, 10.1.1.2, and two remote
61 # hosts. Note that names are not allowed for IP addresses.
63 # A decent hex string can be obtained by performing:
64 # od -x </dev/random | head
72 key 4b656265207761732068657265210c0a
80 key 536f20776572652042696c6c2c2052656e65652c20616e642043687269732e0a
88 If this file is compromised, all \fBIPsec\fR security associations derived from
89 secrets in this file will be compromised as well. The default permissions on
90 \fBike.preshared\fR are \fB0600\fR. They should stay this way.
94 \fBod\fR(1), \fBikeadm\fR(1M), \fBin.iked\fR(1M), \fBipseckey\fR(1M),
95 \fBattributes\fR(5), \fBrandom\fR(7D)