[strongSwan] Permission Denied error

R. Masucci rmm1404 at hotmail.com
Tue Sep 19 14:25:48 CEST 2017

I spoke too soon!  It worked.

I read this on my iPhone and mistakenly put all arguments on one line!


From: Andreas Steffen <andreas.steffen at strongswan.org>
Sent: Monday, September 18, 2017 11:50 PM
To: R. Masucci; users at lists.strongswan.org
Subject: Re: [strongSwan] Permission Denied error

Hi, try

  sudo -s
  ipsec pki --gen > caKey.der



On 19.09.2017 02:24, R. Masucci wrote:
> I just got StrongSwan installed on Ubuntu 14.04 and I tried to create a
> key using the instructions provided:
> ipsec pki --gen > caKey.der
> gets me the following error:
> bash: caKey.der: Permission denied
> I tried to run it with sudo and I get the same error.   I assume the key
> would be populated in:
>   /etc/ipsec.d/private
> Any help is appreciated!

Andreas Steffen                         andreas.steffen at strongswan.org
strongSwan - the Open Source VPN Solution!          www.strongswan.org<http://www.strongswan.org>
strongSwan - IPsec VPN for Linux, Android, FreeBSD, Mac OS X, Windows<http://www.strongswan.org/>
strongSwan is an Open Source IPsec-based VPN solution for Linux and other UNIX based operating systems implementing both the IKEv1 and IKEv2 key exchange protocols.

Institute for Networked Solutions
HSR University of Applied Sciences Rapperswil
CH-8640 Rapperswil (Switzerland)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/users/attachments/20170919/dcaa7681/attachment-0001.html>

More information about the Users mailing list