My objective is to pass from a standard HTTP server to a more safe HTTPS one.
My setup is: Ruby 2.0.0p598, Rails 4.2.0, Thin 1.6.3, Windows 7-Pro-x64-SP1
What I did: Using a self-signed certificate I try to start the server with:
thin start --ssl --ssl-key-file ssl/server.key --ssl-cert-file ssl/server.crt
What is the issue: I receive the following error:
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.
My question to you: Do you know if it is a general issue on Windows (therefore I cannot even think to succeed in doing it) or is there a way to let thin work with ssl on Windows?