[Box Backup] Generating private key, certificate request on Windows, bbackupd-config
E.W. Peter Jalajas
Tue, 22 Aug 2006 13:27:48 -0700 (PDT)
:^) 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
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.
--- Chris Wilson <email@example.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
> > 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
> > these days?
> You are quite possibly delusional :-) I have serious doubts that you
> run bbackupd-config on a non-Unixish system. Cygwin on Windows might
> 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,
> links directly to the relevant OpenSSL code, so it doesn't require
> Unix shell or openssl.exe.
> I haven't compiled it on Windows yet, but it's one of my next
> and I intend to give you a pre-pre-prerelease for testing as soon as
> have done so, which I hope will be in the next two weeks.