You As long as you have the local keys somewhere in your config directory you should be able to do:
rails s puma -p 3000 -b 'ssl://0.0.0.0:3000?key=config/your_key_file.key&cert=config/your_certificate_file.crt'
If you need to know how to generate a local certificate and key this is a good post: https://rossta.net/blog/local-ssl-for-rails-5.html#create-a-self-signed-certificate