SSL_CTX_use_PrivateKey_file ... noisy output

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

SSL_CTX_use_PrivateKey_file ... noisy output

Cesc Santa

When I load the private key, using SSL_CTX_use_PrivateKey_file
function, and I fail to enter the correct one, i get the following
output (actually, i loop three times to ask the user to reenter the

How can i make these error lines not appear?

I use the password_cb function to output an UI, where the password is
requested (UI_new, UI_construct_prompt, UI_process, ... )

32539:error:06065064:digital envelope routines:EVP_DecryptFinal:bad
32539:error:0906A065:PEM routines:PEM_do_header:bad decrypt:pem_lib.c:423:
32539:error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM
Enter passphrase for /usr/local/etc/private/prik.pem:

Thanks in advance,

OpenSSL Project                       
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]