[strongSwan-dev] Read private key with OpenSSL Engine

Ignacio Alamo Corsino nacao2001 at hotmail.com
Mon Aug 7 15:55:26 CEST 2017


I have written an OpenSSL engine to communicate with my smartcard (no pkcs#11 involved).

This engine loads some private key information from the smartcard (n,e) and also performs private key operations like signing.

The private key is normally loaded with the ENGINE_load_private_key OpenSSL function.

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,

so I always end up with an "no private key found for 'Cert_XXXXXX'" error.

I am aware that I should use the openssl plugin but I don't know how to apply it to this case.

Thanks for your time.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/dev/attachments/20170807/a1ea73df/attachment.html>

More information about the Dev mailing list