<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p><br>
</p>
<p>I spoke too soon! It worked.</p>
<p><br>
</p>
<p>I read this on my iPhone and mistakenly put all arguments on one line! <br>
</p>
<p><br>
</p>
<p>Thanks!<br>
</p>
<p><br>
</p>
<br>
<div style="color: rgb(0, 0, 0);">
<div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Andreas Steffen <andreas.steffen@strongswan.org><br>
<b>Sent:</b> Monday, September 18, 2017 11:50 PM<br>
<b>To:</b> R. Masucci; users@lists.strongswan.org<br>
<b>Subject:</b> Re: [strongSwan] Permission Denied error</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Hi, try<br>
<br>
sudo -s<br>
ipsec pki --gen > caKey.der<br>
<br>
Regards<br>
<br>
Andreas<br>
<br>
On 19.09.2017 02:24, R. Masucci wrote:<br>
> I just got StrongSwan installed on Ubuntu 14.04 and I tried to create a<br>
> key using the instructions provided: <br>
> <br>
> ipsec pki --gen > caKey.der<br>
> <br>
> gets me the following error:<br>
> <br>
> <br>
> bash: caKey.der: Permission denied<br>
> <br>
> <br>
> I tried to run it with sudo and I get the same error. I assume the key<br>
> would be populated in:<br>
> <br>
> /etc/ipsec.d/private<br>
> <br>
> <br>
> Any help is appreciated!<br>
> <br>
> <br>
<br>
-- <br>
======================================================================<br>
Andreas Steffen andreas.steffen@strongswan.org<br>
strongSwan - the Open Source VPN Solution! <a href="http://www.strongswan.org" id="LPlnk56550" previewremoved="true">
www.strongswan.org</a>
<div id="LPBorder_GT_15058238745560.04042338112808208" style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id="LPContainer_15058238745530.415999352972646" style="width: 90%; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200);" role="presentation" cellspacing="0">
<tbody>
<tr style="border-spacing: 0px;" valign="top">
<td id="TextCell_15058238745540.9036953426359322" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;" colspan="2">
<div id="LPRemovePreviewContainer_15058238745540.9942191046591018"></div>
<div id="LPTitle_15058238745540.13835107728260154" style="top: 0px; color: rgb(0, 120, 215); font-weight: 400; font-size: 21px; font-family: "wf_segoe-ui_light","Segoe UI Light","Segoe WP Light","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; line-height: 21px;">
<a id="LPUrlAnchor_15058238745540.5532623309382976" style="text-decoration: none;" href="http://www.strongswan.org/" target="_blank">strongSwan - IPsec VPN for Linux, Android, FreeBSD, Mac OS X, Windows</a></div>
<div id="LPMetadata_15058238745550.3801352112683549" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size: 14px; line-height: 14px;">
www.strongswan.org</div>
<div id="LPDescription_15058238745550.7728217795333797" style="display: block; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;">
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.</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
Institute for Networked Solutions<br>
HSR University of Applied Sciences Rapperswil<br>
CH-8640 Rapperswil (Switzerland)<br>
===========================================================[INS-HSR]==<br>
<br>
</div>
</span></font></div>
</div>
</body>
</html>