<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>Hello,</p>
<p><br>
</p>
<p>I have written an OpenSSL engine to communicate with my smartcard (no pkcs#11 involved).
<br>
</p>
<p>This engine loads some private key information from the smartcard <span>(n,e) </span>
and also performs private key operations like signing. </p>
<p>The private key is normally loaded with the <span>ENGINE_load_private_key</span> OpenSSL function.<br>
</p>
<p><br>
</p>
<p>The problem that I have is that I don't know how to tell strongSwan to load the private key information using my engine in ipsec.secrets,</p>
<p>so I always end up with an "<span>no private key found for 'Cert_XXXXXX'</span>" error.</p>
<p><br>
</p>
<p>I am aware that I should use the openssl plugin but I don't know how to apply it to this case.</p>
<p><br>
</p>
<p>Thanks for your time.</p>
<p><br>
</p>
<p>Regards,</p>
<p><br>
</p>
<p>Ignacio<br>
</p>
<p><br>
</p>
<p><br>
</p>
</div>
</body>
</html>