configure wpa_supplicant to work with openssl

Jouni Malinen j
Sat Jun 23 10:43:21 PDT 2012


On Wed, Jun 20, 2012 at 03:07:54PM +0300, moran jacuel wrote:
> I am trying to configure wpa_supplicant on my linux machine to work with
> openssl pkcs11 engine with smartcard. The wpa_supplicant doesn't load my
> pkcs11 engine.  What do i need to write in my wpa_supplicant.cnf file to
> make it work ?

wpa_supplicant/examples/openCryptoki.conf has some examples on this:
http://w1.fi/gitweb/gitweb.cgi?p=hostap.git;a=blob_plain;f=wpa_supplicant/examples/openCryptoki.conf;hb=HEAD

> I am trying to debug the wpa_supplicant in order to understand how it
> works. I cant find a place where the supplicant loads the pkcs11 engine or
> the pkcs11 module. Can you refer me to the place it happens in the code ?

Assuming your OpenSSL has engine support defined (i.e., does not define
OPENSSL_NO_ENGINE), you should see related debug messages in
wpa_supplicant -d output with ENGINE: prefix.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list