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

E.W. Peter Jalajas boxbackup@fluffy.co.uk
Tue, 22 Aug 2006 13:27:48 -0700 (PDT)

Hi Chris,

:^)  Yeah, no, I would just take the meaty command lines out (no
environment or error checking, no directory or config file or
notifyscript creation, no instructions to the user, etc.).  Maybe just
install one of the openssl binaries and then run these in a windows
batch file:

openssl genrsa -out $private_key 2048
openssl req -new -key $private_key -sha1 -out $certificate_request
openssl rand -out $enc_key_file 1024

Does that make sense?

Great to hear about boxi!  I can't wait to test it.  

Thanks Chris,

--- Chris Wilson <chris@qwirx.com> wrote:

> Hi Pete,
> On Tue, 22 Aug 2006, E.W. Peter Jalajas wrote:
> > I'd like to try to start generating keys on windows (win32) to give
> my
> > clients a little more independence.
> [...]
> > Google reports openssl for windows here:
> [...]
> > (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?
> You are quite possibly delusional :-) I have serious doubts that you
> could 
> run bbackupd-config on a non-Unixish system. Cygwin on Windows might
> be 
> a good bet, but is of course very heavyweight for the task. MinGW +
> might also work, but I've never tried MSYS so I can't say.
> Boxi has a GUI wizard for generating certificates in the new version,
> that 
> links directly to the relevant OpenSSL code, so it doesn't require
> any 
> Unix shell or openssl.exe.
> I haven't compiled it on Windows yet, but it's one of my next
> priorities, 
> and I intend to give you a pre-pre-prerelease for testing as soon as
> I 
> have done so, which I hope will be in the next two weeks.