[Openswan Users] could not open private key file

hicham hichamlinux at gmail.com
Thu Jun 1 12:21:08 CEST 2006


hello
 I've setup two gateways to start an ipsec tunnel
following instructions i've found in this website
"http://www.natecarlson.com/linux/ipsec-l2tp.php"
created keys and certificates for both gateways

filled the file "ipsec.secrets" as explained in the site
: RSA host.example.com.key "password"
( though I'm not quite sure which password to put in )

when starting ipsec, the tunnel is not up
 in the log, it complains :
Jun  1 11:07:53 host2 pluto[4915]: loading secrets from "/etc/ipsec.secrets"
Jun  1 11:07:53 host2 pluto[4915]:   could not open private key file
'/etc/ipsec.d/private/host                2.example.com.key'
Jun  1 11:07:53 host2 pluto[4915]: | loaded private key for keyid: PPK_RSA:
Jun  1 11:07:53 host2 pluto[4915]: "/etc/ipsec.secrets" line 1: error
loading RSA private key f

hicham
thanks for your help


More information about the Users mailing list