[Openswan Users] could not open private key file

hicham hichamlinux at gmail.com
Fri Jun 2 10:29:35 CEST 2006


On 6/2/06, hicham <hichamlinux at gmail.com> wrote:
> On 6/1/06, Paul Wouters <paul at xelerance.com> wrote:
> > 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.
>
> you mean
>  : RSA "host.example.com.key" "password"
> it did'nt work
> I found the problem : )
> I choose a shorter name for the private key : host2.key
> and now it finds it
> ( a bug report should be filled somewhere )
>
> for the password or rather the pass phrase, it works if given
> Certificate authority pass phrase !
> can anyone enlight me on that ?
>
> Thanks for replying
> Hicham
>


More information about the Users mailing list