[strongSwan] Permission Denied error

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


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 --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/users/attachments/20170919/3f04e43f/attachment.html>


More information about the Users mailing list