Fernando de Oliveira wrote:

> Sorry, I had not updated properly /bin/remove-expired-certs.sh
> 
> Changed test line to:
> 
>   if [ "${certdate}x" = "x" ]; then echo empty "${cert}"; fi
> 
> 
> $ uname -a
> Linux VMWLFS68 3.1.4 #1 SMP Wed Nov 30 19:44:56 BRT 2011 i686 GNU/Linux
> 
> ...
> Certificate 8f111d69 is not trusted!  Removing...
> certs/48ef30f1.pem is expired! Removing...
> empty certs/0c4c9b6c.pem
> empty certs/c47d9980.pem
> empty certs/9c8dfbd4.pem
> certs/972672fc.pem is expired! Removing...
> certs/84009bc3.pem is expired! Removing...
> certs/ad6c2ff9.pem is expired! Removing...
> empty certs/b727005e.pem
> 
> 
> $ uname -a
> Linux ...Ubuntu 3.0.0-13-generic-pae #22-Ubuntu SMP Wed Nov 2 15:17:35 UTC 
> 2011 i686 i686 i386 GNU/Linux
> 
> ...
> Certificate 8f111d69 is not trusted!  Removing...
> empty certs/c47d9980.pem
> empty certs/9c8dfbd4.pem
> certs/ad6c2ff9.pem is expired! Removing...
> certs/972672fc.pem is expired! Removing...
> empty certs/b727005e.pem
> certs/84009bc3.pem is expired! Removing...
> empty certs/0c4c9b6c.pem
> certs/48ef30f1.pem is expired! Removing...
> 
> 
> Therefore, it removes correctly, but still, four $certdate are empty.

No, the string $certdate is empty, but the reason it's empty is that the 
`date` command does not reformat a date later than January 2038 properly 
and returns an error.  The cert is actually valid and should be accepted.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to