- Create a self signed key and certificate ( good explanation here )
- Using puma (gem 'puma') do:
puma -b 'ssl://0.0.0.0:3000?key=/path/to/server.key&cert=/path/to/server.crt'
now go to: https://localhost:3000
puma -b 'ssl://0.0.0.0:3000?key=/path/to/server.key&cert=/path/to/server.crt'
now go to: https://localhost:3000