[Box Backup-dev] Running bbackupd client from "trunk" on Mac OS X

Chris Wilson boxbackup-dev@fluffy.co.uk
Mon, 22 Jan 2007 22:40:03 +0000 (GMT)


Hi Dominik,

On Mon, 22 Jan 2007, Dominik Herrmann wrote:

> After I had edited the config file, successfully added a new account to 
> my boxbackup server and processed the CSR, I tried to start the client.
>
> It immediately fails with the following error in the log:
>
> Jan 21 18:43:53 sleeky bbackupd[15480]: Starting daemon (config:
> /Users/dh/Library/boxbackup/etc/bak1/bbackupd.conf) (version trunk_1269)
>
> Jan 21 18:43:53 sleeky bbackupd[15480]: bbackupd: terminating due to
> exception Server TLSLoadTrustedCAsFailed (3/27)

Did you not get an error about "SSL err during Load CA cert" immediately 
before this? If you did, what does it say?

> I looked up the location in the source code. Apparently it tries to load 
> serverCA.pem - which should be perfectly readable at the location 
> specified in the config file.

Could you try "openssl -in /path/to/serverCA.pem -noout -text" and check 
that it manages to read and parse the certificate properly? Check that 
you get "Signature Algorithm: sha1WithRSAEncryption" and a bunch of hex 
codes after that (about 10-12 lines worth).

> Has anyone of you encountered this problem before? I would appreciate 
> any comments or ideas?

No, I haven't seen this before.

Cheers, Chris.
-- 
_ ___ __     _
  / __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |