Skip to content
shadowbq edited this page Jun 8, 2015 · 2 revisions

Welcome to the thin-rc.d wiki!

Tips on using thin under SSL development environments.

cd /opt/app
mkdir ./ssl
bundle install
bundle --binstubs

Generate SelfSigned

openssl req -new -newkey rsa:2048 -sha1 -days 365 -nodes -x509 -subj "/C=US/ST=Colorado/L=Colorado Springs/O=SW/CN=localhost.ssl" -keyout ssl/server.key -out ssl/server.crt

Run the SSL Thin

./bin/thin --ssl --ssl-disable-verify --ssl-key-file ./ssl/server.key --ssl-cert-file ./ssl/server.crt -a 10.0.0.2 -p 9000 start
Clone this wiki locally