[Openswan Users] could not open private key file

Paul Wouters paul at xelerance.com
Thu Jun 1 15:46:20 CEST 2006


On Thu, 1 Jun 2006, hicham wrote:

> 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 )

> 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

Use double quotes around the filename too.

Paul


More information about the Users mailing list