* 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
@ -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>
|
Fri Jul 30 21:43:55 2010 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* ext/pathname/pathname.c (path_hash): Pathname#hash translated
|
* ext/pathname/pathname.c (path_hash): Pathname#hash translated
|
||||||
|
@ -50,8 +50,8 @@ module WEBrick
|
|||||||
end
|
end
|
||||||
}
|
}
|
||||||
cert = OpenSSL::X509::Certificate.new
|
cert = OpenSSL::X509::Certificate.new
|
||||||
cert.version = 3
|
cert.version = 2
|
||||||
cert.serial = 0
|
cert.serial = 1
|
||||||
name = OpenSSL::X509::Name.new(cn)
|
name = OpenSSL::X509::Name.new(cn)
|
||||||
cert.subject = name
|
cert.subject = name
|
||||||
cert.issuer = name
|
cert.issuer = name
|
||||||
|
Loading…
x
Reference in New Issue
Block a user