On 7/27/06, Ryan McGovern [email protected] wrote:
I want to have a drb server that uses the drb-ssl library automatically
start up on boot.
To do this i need a program that can provide the password into the
prompt. I’ve tried all combanations of pipes into the drb program to
Do any of you have any experience or ideas with this?
Why not store your private key (which is what I assume the password is
for) in plaintext form anyway? You might as well do that, rather than
go through the hoops of attempting to provide the password elsewhere
(itself in plaintext). Both methods are equally (un)secure, my
suggestion has the advantage of attempting to machine-provide a
password to a program that is trying its darndest to prevent that. To
save the private key in plaintext, the following command should
openssl rsa -in mykey.key -out mykey.key.unsecure
and use mykey.key.unsecure instead of mykey.key for the certificate
private key used by your program.