[Box Backup] Error regarding SocketBindError / ListenAddresses

Leif Linderstam ell2 at live.se
Sun Jan 23 20:39:28 GMT 2011


A late addition to the discussion.

The openssl command "ca" has options -startdate and -enddate in addition to -days.
These explicit options do not have the 2038 limitation that -days has, if I remember
correctly. The bbstored-certs script however uses the command "x509" which only
has the -days option. If it is possible to switch to the "ca" command and set a far
off end-date, then 32-bit systems would not have to be handled separately.

/Leif Linderstam


> Date: Mon, 3 Jan 2011 17:04:31 +0000
> From: james at netinertia.co.uk
> To: boxbackup at boxbackup.org
> Subject: Re: [Box Backup] Error regarding SocketBindError / ListenAddresses
> 
> On Mon, Jan 03, 2011 at 06:02:13PM +0100, Wouter van Eekelen wrote:
> > Problem found! The bbstored-certs file has this on top:
> > --
> > my $root_sign_period = '10000';
> > 
> > 10,000 days is 27.39 years, which is past 2038 (Y2K38), which made the
> > certificate invalid:
> > --
> > notBefore=Jan  3 15:59:18 2011 GMT
> > notAfter=Apr 15 09:31:02 1902 GMT
> > 
> > I've changed it to 9000, which is before 2038, so now it's all valid :)
> 
> Aha, interesting! Perhaps we should change this default for 32-bit
> systems.
> 
> Good spot, thanks.
> 
> James
> _______________________________________________
> Boxbackup mailing list
> Boxbackup at boxbackup.org
> http://lists.boxbackup.org/cgi-bin/mailman/listinfo/boxbackup
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.boxbackup.org/pipermail/boxbackup/attachments/20110123/439ed17e/attachment.html>


More information about the Boxbackup mailing list