<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>I just got StrongSwan installed on Ubuntu 14.04 and I tried to create a key using the instructions provided: </p>
<p></p>
<pre>ipsec pki --gen > caKey.der</pre>
gets me the following error:
<p></p>
<p><br>
</p>
<p><span>bash: caKey.der: Permission denied</span></p>
<p><br>
<span></span></p>
<p>I tried to run it with sudo and I get the same error.   I assume the key would be populated in:</p>
<p>  <span>/etc/ipsec.d</span>/private <br>
</p>
<p><br>
</p>
<p>Any help is appreciated!</p>
<p><br>
</p>
</div>
</body>
</html>