Project

General

Profile

Actions

Bug #8664

closed

open ssl not_before failure on small set of certificates

Added by jnickel (Jody Nickel) over 10 years ago. Updated over 10 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 1.9.3p448 (2013-06-27 revision 41675) [x86_64-linux]
[ruby-core:56108]

Description

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 `'

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.


Files

open-ssl-bug.rb (3.69 KB) open-ssl-bug.rb jnickel (Jody Nickel), 07/23/2013 01:59 AM
openssl.bug_8664.patch (1.61 KB) openssl.bug_8664.patch drbrain (Eric Hodel), 07/23/2013 08:29 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0