Mój cel to przejście ze standardowego serwera HTTP do bezpieczniejszego HTTPS.Szyny, Windows i HTTPS
Moja konfiguracja to: Ruby 2.0.0p598, Rails 4.2.0, 1.6.3 Cienki, Windows 7 Pro x64 SP1
Co zrobiłem: Korzystanie z podpisem własnym Zaświadczenie spróbuj uruchomić serwer z:
thin start --ssl --ssl-key-file ssl/server.key --ssl-cert-file ssl/server.crt
czym polega problem: otrzymuję następujący błąd:
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.
Moje pytanie do Ciebie: Czy wiesz, czy jest to ogólny problem w systemie Windows (dlatego nie mogę nawet myśleć o tym, aby odnieść sukces) lub czy istnieje sposób, aby pozwolić cienkiej pracy z ssl w systemie Windows?
we wdrożeniu _normal_ będziesz mieć serwer WWW przed cienki, który kończy SSL, a cienki nie musi się o to martwić. Wdrażanie w systemie Windows jest _nie normalne_ i jest ogólnie uważane za złą praktykę (chociaż niektórzy ludzie robią to w każdym razie). Mimo to nadal możesz umieścić normalny serwer WWW przed cienkim w systemie Windows. –