diff options
author | gotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-07 12:34:20 +0000 |
---|---|---|
committer | gotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-07 12:34:20 +0000 |
commit | 813d4b5dd792342a479995d0295f4feef1b4e32a (patch) | |
tree | a05cb5ede8dbd06a500499fcf41790673159b24b /sample | |
parent | d0f6f9fb7a2045426756795366233f64fd9c6332 (diff) |
* sample/webrick/httpsd.rb: fix typo in comment. suggested by
Kazuhiko Shiozaki.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample')
-rw-r--r-- | sample/webrick/httpsd.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sample/webrick/httpsd.rb b/sample/webrick/httpsd.rb index 9d82ef36cf..a120782c3c 100644 --- a/sample/webrick/httpsd.rb +++ b/sample/webrick/httpsd.rb @@ -11,8 +11,8 @@ httpd = WEBrick::HTTPServer.new( :SSLEnable => true, # Specify key pair and server certificate. - # :SSLPrivateKey => OpenSSL::PKey::RSA.new("server.key"), - # :SSLCertificate => OpenSSL::X509::Certificate.new("server.crt"), + # :SSLPrivateKey => OpenSSL::PKey::RSA.new(File.read("server.key")), + # :SSLCertificate => OpenSSL::X509::Certificate.new(File.read("server.crt")), # specify the following SSL options if you want to use auto # generated self-signed certificate. |