我正在尝试在https协议上启动瘦服务但是低于错误。
以下是我用于瘦服务器以https
启动瘦服务器的命令E:\demo1>thin start --ssl --ssl-verify --ssl-key-file E:/demo1/server.key --ssl-cert-file E:/demo1/server.crt
以下是我得到的错误。
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/thin-1.7.0/lib/thin/runner.
rb:147:in `parse!': invalid option: --ssl-verify (OptionParser::InvalidOption)
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/thin-1.7.0/lib
/thin/runner.rb:50:in `initialize'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/thin-1.7.0/bin
/thin:6:in `new'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/thin-1.7.0/bin
/thin:6:in `<top (required)>'
from C:/RailsInstaller/Ruby2.0.0/bin/thin:23:in `load'
from C:/RailsInstaller/Ruby2.0.0/bin/thin:23:in `<main>'
答案 0 :(得分:1)
通过从命令中删除--ssl-verify来解决问题。
tasker