[Box Backup] Generating private key, certificate request on Windows, bbackupd-config

Ben Summers boxbackup@fluffy.co.uk
Tue, 22 Aug 2006 20:20:28 +0100


On 22 Aug 2006, at 20:14, E.W. Peter Jalajas wrote:

> Hi all,
>
> I'd like to try to start generating keys on windows (win32) to give my
> clients a little more independence.
>
> http://boxbackup.hostworks.ca/index.php/Configuring_a_client
> and
> http://www.reedtz.com/boxdoc/adminguide/ch01.html#id2966650
> say:
>
>      Run the bbackupd-config script to generate the configuration  
> files
>           and generate a private key and certificate request.
>
>           /usr/local/bin/bbackupd-config /etc/box lazy 999 hostname
>                /var/bbackupd /home
>
> Google reports openssl for windows here:
> http://gnuwin32.sourceforge.net/packages/openssl.htm
> and here:
> http://www.openssl.org/related/binaries.html
> (I don't know anything about either of them.)
> (Cygwin also comes with openssl.)
>
> Am I delusional to think that I could try to port all or most of
> bbackupd-config to Windows?  Or is there some new easier way todo this
> these days?


perl scripts using openssl are purely because I'm lazy. What really  
needs to be done is to rewrite bbackupd-config in C++ so it can do  
the certificate generation itself. Using the openssl API isn't too  
tricky.

Ben