Prevent prompting for PEM passphrase
I am building a Qt-based application that will communicate through https
with a webserver. The setup should allow client-authentication with a
local certificate and private key. The application must run without any
user interaction.
Now I have a problem when the private key file is protected by a passphrase:
OpenSSL will prompt for a password, blocking the whole application!
The openSSL API allows to pass a callback for getting the passphrase, but
this is not accessible though the Qt Wrapper. Is there another way to
prevent openSSL from prompting for a password? Or can this somehow be
interrupted?
No comments:
Post a Comment