Rails + Passenger + SSL on OSX

Finally got SSL working on my dev box. This is pretty nice for testing anything SSL – we’ve been getting a lot of surprises lately with SSL… it’s pretty hard to test.

First – you can install Passenger following Robby’s guide. Just take the Passenger steps – skip the ports, etc. unless you don’t have rails: http://www.robbyonrails.com/articles…

Then – create a SSL cert. Follow this guys instructions but ignore the apache steps. And substitute whatever passenger name you gave your app (like myapp.local) for the common name 127.0.0.1 name instructions. Just do Step 1: http://www.silverchairsolutions.com/blog…

Then follow Step 2 onwards here: http://loganleger.com/apache-…

Then just do a sudo apachectl restart and you should be good to go.