Re: openssl error while retreaving key from smartcard from wpa_supplicant?

2007-06-26 Thread Carles Fernandez i Julia
En/na Marek Marcola ha escrit: > Hello, > >> I'm currently trying to authenticate using EAP-TLS using smartcard with >> wpa_supplicant and I get this error: >> >> OpenSSL: tls_connection_engine_private_key - Private key failed >> verification error:140A30B1:SSL routines:SSL_check_private_key:no

Sign with RSA/SHA1 and get PKCS#7/CMS

2007-06-26 Thread estante23-openssl
Hello, I wasn't able to get a PKCS #7 file using the dgst and rsautl command. So now I'm trying with the smime command. However, I´m doing something wrong since I get "Error reading S/MIME message" because the file I want to sign is not in SMIME format (I suppose). Is there any way use the smime c

How to pass Passphrase for Private key

2007-06-26 Thread Dinh, Thao V CIV NSWCDD, K72
Hi All OpenSsl collects passphrase through a callback function. The default callback prompts the user on the terminal. There are two methods to cancel this default: SSL_CTX_set_default_passwd_cb // provide callback SSL_CTX_set_default_passwd_cb_userdata Could you please explain what is the diff