Rack ssl not working with Thin

I installed rack ssl for Rails 3.07 per these instructions: http://www.simonecarletti.com/blog/2011/05/configuring-rails-3-https-ssl/

It is not working. The first https request (for the login page) is made and the page is served securely, but when you login it redirects to a non-secure http URL.

I am running Thin server. Does it work for Thin? What about Webrick?

Any ideas? Thanks.


For Thin, you can pass your SSL information in using the following options:

$ thin --help

SSL options:
    --ssl                        Enables SSL
    --ssl-key-file PATH          Path to private key
    --ssl-cert-file PATH         Path to certificate
    --ssl-verify                 Enables SSL certificate verification

If you would like to configure Webrick to use SSL, this article from this question seems to work.

Need Your Help

ElasticSearch: Search across multiple fields with input strings (NumberFormatException)


I am searching across multiple fields in a query using the * asterisk notation (Ex: I want all fields startings with source so I specify fields source.*) and I specify a query of foobar as string. ...

reading sent and received SYS and ACK packets with dpkt and python

python dpkt

I need to parse a .pcap file to detect possible SYS scans. I need to be able to display the IP address of any IP addresses that sent 3 times as many SYS packets as the number of SYS+ACK packets they