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 remove this passpharse from file so that it not required to
provided during SSL_CTX_use_PrivateKey_file() or SSL connection.

I know that I can change the file using command openssl rsa -in privkey.pem
-out privatekey.pem

But I want some programtic(i.e C program/API) way so that there is no
requirement of password during key file loading and ssl connection setup.

Regards
Manoj 






--
View this message in context: 
http://openssl.6102.n7.nabble.com/Removing-the-passpharse-from-key-file-using-openssl-API-s-tp47617.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to