Can anyone provide a link to a description or tutorial dealing with the setup of https and installint certs etc using the Ruby RACK webserver?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Rack isn’t a webserver, it’s an interface between webservers (like Apache, nginx) and applications middleware.
If you’re wanting to deploy a Rails application behind SSL, it’s as easy as setting up SSL in your web server software. There are special things you can do in your app (such as forcing login pages to always use SSL), but they’re outside of the scope of the deployment itself.
For example, to set up SSL with Apache and passenger, you would just configure your vhost as you’d configure any vhost with SSL:
The webserver itself handles all of the SSL work before it ever gets to the app. Rails (and Rack) don’t need to anything special to run on a secured SSL connection; you’d just point your users to https://yourdomain.com and it works.
If you need help installing certificates for your server, try the links below: