[strongSwan] Permission Denied error

Noel Kuntze noel.kuntze+strongswan-users-ml at thermi.consulting
Tue Sep 19 14:25:15 CEST 2017


Hello

You will find the content you can find via google very helpful.
http://lmgtfy.com/?q=sudo+redirect

Kind regards

NOel

On 19.09.2017 14:19, R. Masucci wrote:
>
> No luck. 
>
>
> I'm in the  /etc/ipsec.d directory and my permissions on that directory are set to:
>
>
>    drwx------ 2 root root 4096 Aug 17 14:16 private
>
>
> Does that all look correct?
>
>
>
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> *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
>
> Regards
>
> Andreas
>
> 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/>
> 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)
> ===========================================================[INS-HSR]==
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.strongswan.org/pipermail/users/attachments/20170919/edf9a821/attachment.sig>


More information about the Users mailing list