title: How can I set up a local SSL certificate and a Rails application?
body: <p>This might be a two-in-one question.</p>
  
  <ol>
  <li><p>I have a Rails application for home/hobby usage, hosted on a Raspberry Pi and I was wondering if it's possible to create a local SSL certificate for it and setup Rails to use it? </p></li>
  <li><p>If yes, how can I setup my Rails/Puma/Foreman/Ubuntu application? For now, I am running the application with Foreman, by using a Procfile:</p>
  
  <pre><code>web: bundle exec puma -t 8:8 -p 3000
  worker: bundle exec sidekiq
  clock: bundle exec clockwork config/clock.rb
  </code></pre></li>
  </ol>