# Drb-ssl question

**URL:** <https://www.ruby-forum.com/t/drb-ssl-question/100052>\
**Category:** Ruby\
**Created:** [July 26, 2006, 9:37pm UTC](https://www.ruby-forum.com/t/drb-ssl-question/100052 "2006-07-26T21:37:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ryan\_McGovern](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ccd318/32.png) [@Ryan\_McGovern](https://www.ruby-forum.com/u/Ryan_McGovern)\
**Post date:** [July 26, 2006, 9:37pm UTC](https://www.ruby-forum.com/t/drb-ssl-question/100052/1 "2006-07-26T21:37:02Z")

</div>

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?

-Ryan

---

<div class="post-metadata">

**Author:** ![Ryan\_McGovern](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ccd318/32.png) [@Ryan\_McGovern](https://www.ruby-forum.com/u/Ryan_McGovern)\
**Post date:** [July 27, 2006, 3:49am UTC](https://www.ruby-forum.com/t/drb-ssl-question/100052/2 "2006-07-27T03:49:25Z")

</div>

On 7/27/06, Ryan McGovern [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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.

---

<div class="post-metadata">

**Author:** ![Ryan\_McGovern](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ccd318/32.png) [@Ryan\_McGovern](https://www.ruby-forum.com/u/Ryan_McGovern)\
**Post date:** [July 29, 2006, 4:07am UTC](https://www.ruby-forum.com/t/drb-ssl-question/100052/3 "2006-07-29T04:07:54Z")

</div>

On Jul 26, 2006, at 12:33 PM, 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?

You want to use a passwordless SSL key.

–  
Eric H. - removed\_email\_address@domain.invalid - [http://blog.segment7.net](http://blog.segment7.net)  
This implementation is HODEL-HASH-9600 compliant

[http://trackmap.robotcoop.com](http://trackmap.robotcoop.com)
