Ignacio Alamo Corsino
2017-08-07 13:55:26 UTC
Hello,
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.
Regards,
Ignacio
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.
Regards,
Ignacio