Project

General

Profile

ipsec.secrets Reference » History » Version 7

« Previous - Version 7/18 (diff) - Next » - Current version
Andreas Steffen, 09.12.2008 00:57
added ECDSA private keys


ipsec.secrets

strongSwan's /etc/ipsec.secrets file contains an unlimited number of the following
types of secrets:

  • RSA defines an RSA private key
  • ECDSA defines an ECDSA private key
  • PSK defines a pre-shared key
  • EAP defines EAP credentials
  • XAUTH defines XAUTH credentials
  • PIN defines a smartcard PIN

Example

# /etc/ipsec.secrets - strongSwan IPsec secrets file

192.168.0.1 %any : PSK "v+NkxY9LLZvwj4qCC2o/gGrWDF2d21jL" 

: RSA moonKey.pem

: XAUTH carol "4iChxLT3" 

: XAUTH dave  "ryftzG4A"