K
Karl-Heinz Wild
--Apple-Mail-1--139677948
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
delsp=yes;
format=flowed
I have a problem with running webrick as https server.
is this a kown problem or something i could correct in my
script.
s = HTTPServer.new(
:ServerName => SERVERNAME,
ort => 443,
:SSLEnable => true,
#:SSLVerifyClient => ::OpenSSL::SSL::VERITY_NONE,
#:SSLCertName => [ [ 'C','LI' ], ['O','servername'], ['CN','WWW'] ],
ocumentRoot => ROOTPATH + "/htdocs" )
# ruby server-test.rb
[2004-06-20 01:49:42] INFO WEBrick 1.3.1
[2004-06-20 01:49:42] INFO ruby 1.8.1 (2004-05-02) [i386-freebsd5]
...............++++++
........................................................................
........................................................................
.....++++++
/usr/local/lib/ruby/1.8/webrick/ssl.rb:55:in `initialize': cannot
convert nil into String (TypeError)
from /usr/local/lib/ruby/1.8/webrick/ssl.rb:55:in `new'
from /usr/local/lib/ruby/1.8/webrick/ssl.rb:55:in
`create_self_signed_cert'
from /usr/local/lib/ruby/1.8/webrick/ssl.rb:106:in
`setup_ssl_context'
from /usr/local/lib/ruby/1.8/webrick/ssl.rb:90:in `listen'
from /usr/local/lib/ruby/1.8/webrick/server.rb:63:in
`initialize'
from /usr/local/lib/ruby/1.8/webrick/httpserver.rb:24:in
`initialize'
from server-test.rb:114:in `new'
from server-test.rb:114
--Apple-Mail-1--139677948--
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
delsp=yes;
format=flowed
I have a problem with running webrick as https server.
is this a kown problem or something i could correct in my
script.
s = HTTPServer.new(
:ServerName => SERVERNAME,
ort => 443,
:SSLEnable => true,
#:SSLVerifyClient => ::OpenSSL::SSL::VERITY_NONE,
#:SSLCertName => [ [ 'C','LI' ], ['O','servername'], ['CN','WWW'] ],
ocumentRoot => ROOTPATH + "/htdocs" )
# ruby server-test.rb
[2004-06-20 01:49:42] INFO WEBrick 1.3.1
[2004-06-20 01:49:42] INFO ruby 1.8.1 (2004-05-02) [i386-freebsd5]
...............++++++
........................................................................
........................................................................
.....++++++
/usr/local/lib/ruby/1.8/webrick/ssl.rb:55:in `initialize': cannot
convert nil into String (TypeError)
from /usr/local/lib/ruby/1.8/webrick/ssl.rb:55:in `new'
from /usr/local/lib/ruby/1.8/webrick/ssl.rb:55:in
`create_self_signed_cert'
from /usr/local/lib/ruby/1.8/webrick/ssl.rb:106:in
`setup_ssl_context'
from /usr/local/lib/ruby/1.8/webrick/ssl.rb:90:in `listen'
from /usr/local/lib/ruby/1.8/webrick/server.rb:63:in
`initialize'
from /usr/local/lib/ruby/1.8/webrick/httpserver.rb:24:in
`initialize'
from server-test.rb:114:in `new'
from server-test.rb:114
--Apple-Mail-1--139677948--