Short answer: you can create a self-signed certificate for local development. Heroku has a short article on how to create a self-signed SSL certificate .
Once you have created your certificate and key, it is pretty simple with Thin:
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
Larsenal
source share