Try /* set callback for passphrases on private key files */ SSL_CTX_set_default_passwd_cb( context, pem_passwd_cb);
before calling SSL_CTX_use_PrivateKey_file(), where pem_passwd_cb could be for non-crypted private key files /* callback for private key files passphrase */ static int pem_passwd_cb(char *buf, int size, int rwflag, void *password) { return 0; } Ales Privetivy > Hi, > > can somebody help me out. > > when i use the SSL_CTX_use_PrivateKey_file() function in my client and server >program, > both the server and client progarm asks on the command prompt to > Enter PEM pass phrase: > > I dont want the user to enter the pass phrase , how to avoid this situation. Is >there anyway ? > > biswaksen > > ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]