我的目标是从标准HTTP服务器传递到更安全的HTTPS服务器.
我的设置是: Ruby 2.0.0p598,Rails 4.2.0,Thin 1.6.3,Windows 7-Pro-x64-SP1
我做了什么:使用自签名证书我尝试使用以下命令启动服务器:
thin start --ssl --ssl-key-file ssl/server.key --ssl-cert-file ssl/server.crt
Run Code Online (Sandbox Code Playgroud)
问题:我收到以下错误:
terminate called after throwing an instance of 'std::runtime_error'
what(): Encryption not available on this event-machine
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Run Code Online (Sandbox Code Playgroud)
我向你提出的问题:你知道它是否是Windows上的一般问题(因此我甚至无法想到成功)或者是否有办法在Windows上轻松使用ssl?