mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/webrick/ssl.rb (WEBrick::Utils.create_self_signed_cert):
merged r28784 from ruby_1_8: wrongly created dummy SSL certificate with version == 3 (no such version) and serial == 0 (must be >0). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
be2f3c58e6
commit
d61f475bb1
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
Sat Jul 31 08:20:07 2010 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
|
||||
|
||||
* lib/webrick/ssl.rb (WEBrick::Utils.create_self_signed_cert):
|
||||
merged r28784 from ruby_1_8: wrongly created dummy SSL certificate
|
||||
with version == 3 (no such version) and serial == 0 (must be >0).
|
||||
|
||||
Fri Jul 30 21:43:55 2010 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* ext/pathname/pathname.c (path_hash): Pathname#hash translated
|
||||
|
|
|
@ -50,8 +50,8 @@ module WEBrick
|
|||
end
|
||||
}
|
||||
cert = OpenSSL::X509::Certificate.new
|
||||
cert.version = 3
|
||||
cert.serial = 0
|
||||
cert.version = 2
|
||||
cert.serial = 1
|
||||
name = OpenSSL::X509::Name.new(cn)
|
||||
cert.subject = name
|
||||
cert.issuer = name
|
||||
|
|
Loading…
Reference in a new issue