summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-11-01 17:30:40 +0000
committergotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-11-01 17:30:40 +0000
commit9971e48c269f6b515d28db867980ac964c3a3521 (patch)
treeb049b35996dd49218c27ba3874fddcf1936b5ca2
parent5dd1471428c60fdfa1faf32e55aace1cdd4e4b94 (diff)
downloadruby-9971e48c269f6b515d28db867980ac964c3a3521.tar.gz
ruby-9971e48c269f6b515d28db867980ac964c3a3521.tar.xz
ruby-9971e48c269f6b515d28db867980ac964c3a3521.zip
* lib/webrick/ssl.rb: new option :SSLExtraChainCert.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog6
-rw-r--r--lib/webrick/ssl.rb2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index bb99e4859..015d0d94c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sun Nov 2 02:28:33 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
+
+ * lib/webrick/ssl.rb: new option :SSLExtraChainCert.
+
Sun Nov 2 01:02:04 2003 Akinori MUSHA <knu@iDaemons.org>
* string.c (rb_str_hash): Update the HASH_PERL alternative hash
@@ -5,7 +9,7 @@ Sun Nov 2 01:02:04 2003 Akinori MUSHA <knu@iDaemons.org>
* st.c (strhash): Ditto.
-Sat Nov 1 18:21:09 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
+Sat Nov 1 18:21:09 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
* ext/openssl/ossl_ssl.c (ossl_ssl_peer_cert_chain): add new method
SSLSocket#peer_cert_chain.
diff --git a/lib/webrick/ssl.rb b/lib/webrick/ssl.rb
index 402fd5d99..4562ba494 100644
--- a/lib/webrick/ssl.rb
+++ b/lib/webrick/ssl.rb
@@ -18,6 +18,7 @@ module WEBrick
:SSLCertificate => nil,
:SSLPrivateKey => nil,
:SSLClientCA => nil,
+ :SSLExtraChainCert => nil,
:SSLCACertificateFile => nil,
:SSLCACertificatePath => nil,
:SSLCertificateStore => nil,
@@ -110,6 +111,7 @@ module WEBrick
ctx.key = config[:SSLPrivateKey]
ctx.cert = config[:SSLCertificate]
ctx.client_ca = config[:SSLClientCA]
+ ctx.extra_chain_cert = config[:SSLExtraChainCert]
ctx.ca_file = config[:SSLCACertificateFile]
ctx.ca_path = config[:SSLCACertificatePath]
ctx.cert_store = config[:SSLCertificateStore]