From: Dido Sevilla Date: 2006-07-27T10:46:13+09:00 Subject: Re: drb-ssl question On 7/27/06, Ryan McGovern 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 > achieve this. > 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 suffice: 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.