Issue #8664 has been reported by jnickel (Jody Nickel).

----------------------------------------
Bug #8664: open ssl not_before failure on small set of certificates
https://bugs.ruby-lang.org/issues/8664

Author: jnickel (Jody Nickel)
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 
ruby -v: ruby 1.9.3p448 (2013-06-27 revision 41675) [x86_64-linux]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


This failure only occurs on a very small percentage of certificates, during processing of ~2 million certificates, this failure only occurred 3 times. It happens on ruby-1.9.3-p448, ruby-1.8.7-p374 and ruby-2.0.0-p247 with the same error reported: 

open-ssl-bug.rb:71:in `not_before': bad UTCTIME format (TypeError)
        from open-ssl-bug.rb:71:in `perform_cert'
        from open-ssl-bug.rb:76:in `<main>'

I've enclosed a small sample program showing a successful and failed display of the not_before time, with the good and bad certificates embedded within the code.



-- 
http://bugs.ruby-lang.org/