Project

General

Profile

ipsec.secrets Reference » History » Version 7

Andreas Steffen, 09.12.2008 00:57
added ECDSA private keys

1 1 Martin Willi
2 7 Andreas Steffen
h1. ipsec.secrets
3 7 Andreas Steffen
4 7 Andreas Steffen
5 7 Andreas Steffen
strongSwan's _/etc/ipsec.secrets_ file contains an unlimited number of the following
6 1 Martin Willi
types of secrets:
7 1 Martin Willi
8 7 Andreas Steffen
* [[RsaSecret|RSA]] defines an RSA private key
9 7 Andreas Steffen
* [[EcDsaSecret|ECDSA]] defines an ECDSA private key
10 7 Andreas Steffen
* [[PskSecret|PSK]] defines a pre-shared key
11 7 Andreas Steffen
* [[EapSecret|EAP]] defines EAP credentials
12 7 Andreas Steffen
* [[XauthSecret|XAUTH]] defines XAUTH credentials
13 7 Andreas Steffen
* [[PinSecret|PIN]] defines a smartcard PIN
14 5 Martin Willi
15 7 Andreas Steffen
16 7 Andreas Steffen
h2. Example
17 7 Andreas Steffen
18 7 Andreas Steffen
<pre>
19 5 Martin Willi
# /etc/ipsec.secrets - strongSwan IPsec secrets file
20 5 Martin Willi
21 5 Martin Willi
192.168.0.1 %any : PSK "v+NkxY9LLZvwj4qCC2o/gGrWDF2d21jL"
22 5 Martin Willi
23 5 Martin Willi
: RSA moonKey.pem
24 5 Martin Willi
25 5 Martin Willi
: XAUTH carol "4iChxLT3"
26 5 Martin Willi
27 5 Martin Willi
: XAUTH dave  "ryftzG4A"
28 7 Andreas Steffen
</pre>