Hi,

the following happens in irb.

irb(main):001:0> require "openssl"
=> true
irb(main):002:0> include OpenSSL
=> Object
irb(main):003:0> include X509
=> Object
irb(main):004:0> cert = Certificate.new(File.read("server.cer"))
ArgumentError: time out of range
        from d:/roland/ruby181/lib/ruby/1.8/irb.rb:296:in `utc'
        from d:/roland/ruby181/lib/ruby/1.8/irb.rb:296:in `inspect'
        from d:/roland/ruby181/lib/ruby/1.8/irb.rb:296:in `output_value'
        from d:/roland/ruby181/lib/ruby/1.8/irb.rb:149:in `eval_input'
        from d:/roland/ruby181/lib/ruby/1.8/irb.rb:145:in `signal_status'
        from d:/roland/ruby181/lib/ruby/1.8/irb.rb:145:in `eval_input'
        from d:/roland/ruby181/lib/ruby/1.8/irb.rb:144:in `each_top_level_statement'
        from d:/roland/ruby181/lib/ruby/1.8/irb/ruby-lex.rb:220:in `loop'
        from d:/roland/ruby181/lib/ruby/1.8/irb/ruby-lex.rb:248:in `each_top_level_statement'
        from d:/roland/ruby181/lib/ruby/1.8/irb/ruby-lex.rb:219:in `catch'
        from d:/roland/ruby181/lib/ruby/1.8/irb/ruby-lex.rb:219:in `each_top_level_statement'
        from d:/roland/ruby181/lib/ruby/1.8/irb.rb:144:in `eval_input'
        from d:/roland/ruby181/lib/ruby/1.8/irb.rb:70:in `start'
        from d:/roland/ruby181/lib/ruby/1.8/irb.rb:69:in `catch'
        from d:/roland/ruby181/lib/ruby/1.8/irb.rb:69:in `start'
        from d:/roland/ruby181/bin/irb.bat:20
Maybe IRB bug!!
irb(main):005:0>

However, it is working as a ruby program.
Ruby 1.8.1 (2003-12-05) [i386-mswin32]


-Roland
______________________________________________________________________________
Horoskop, Comics, VIPs, Wetter, Sport und Lotto im WEB.DE Screensaver1.2
Kostenlos downloaden: http://screensaver.web.de/?mc=021110