1 Apr 2005 18:14
Using OpenSSL ENGINE to get Certificate from Smartcard
Douglas E. Engert <deengert <at> anl.gov>
2005-04-01 16:14:25 GMT
2005-04-01 16:14:25 GMT
The OpenSSL ENGINE facilities had ENGINE_load_private_key,
and ENGINE_load_public_key, but do not have ENGINE_load_certificate.
When the ENGINE is used by an application, such as the
Heimdal PKINIT code to use a smartcard to get a Kerberos
ticket the application does not have easy access to the
certificate stored on the smartcard.
The Heimdal code needs the certificate, as well as the key.
Currently the certificate must be loaded off the card
in a separate step, then passed in as a file.
Is there any chance that:
(1) OpenSSL would implement ENGINE_load_certificate
(2) OpenSC would use it in their sslengine/hw_pkcs11.c
(3) Heimdal would use it to load the certificate from the
smartcard?
Even if (1) is not done, It looks possible to use the
ENGINE_ctrl to do this if OpenSC would add a routine to
access the certificate and the Heimdal code would call it.
I am in the process of getting Heimdal on Linux to use OpenSC
to access a GemSAFE card, which was initialized for use
for Windows login to za domain.
So far its working, but the above is a problem as the
(Continue reading)
) is firmly in place.
deengert> The Heimdal code needs the certificate, as well as the key.
deengert> Currently the certificate must be loaded off the card
deengert> in a separate step, then passed in as a file.
Hmm, I imagine that ENGINE_load_certificate() would still be a
separate step. I hope that's not a problem...
RSS Feed