Hello,

I'm configuring an access control for wireless networks using eap-tls protocol. The clients have got credentials into a smartcard using engine-pkcs11. wpa_supplicant requires cert_id and key_id for certificate and private key respectively, stored into the chip. Linux clients can be authenticated using the engine (engine-pkcs11.so) but not Windows clients (engine-pkcs11.dll). This is my error:

TLS: Using private key from engine
OpenSSL: tls_connection_engine_private_key - ENGINE: cannot use private key for TLS error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch
TLS: Failed to load private key

I'm right when i say that engine under linux can make calculations with private key stored into the chip but under windows i got this output. I have read some comments searching in google saying it's not true but i suposse that was with another version because i'm not insane :). I have the binary version of openssl 0.9.8g and SP2. what could be happening? Looks logic that engine for windows and linux have the same functionality but i'm lost.

Thanks
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to