Certificate alias lost during export to .p12 ?

2013-12-10 Thread Nyyr
Hello, I received certificate from CA and it had no alias set: openssl x509 -in QCA1530646.pem -alias -noout So I set alias via: openssl x509 -in QCA1530646.pem -setalias myalias -out QCA1530646_2.pem and verified via: openssl x509 -in QCA1530646_2.pem -alias -noout m

RE: Removing the passpharse from key file using openssl API's

2013-12-10 Thread Dave Thompson
> From: owner-openssl-users On Behalf Of Manoj > Sent: Tuesday, December 10, 2013 08:31 > I am creating an EVP_PKEY using functions EVP_PKEY_new() and then > RSA_generate_key_ex() > and then wrtting the obtained key to file using function > PEM_write_PrivateKey(). > As the writing of key to file r

Removing the passpharse from key file using openssl API's

2013-12-10 Thread Manoj
Hi, I am creating an EVP_PKEY using functions EVP_PKEY_new() and then RSA_generate_key_ex() and then wrtting the obtained key to file using function PEM_write_PrivateKey(). As the writing of key to file required a passpharse, which is passed as argument to PEM_write_PrivateKey(). But I want to re