How do you configure WEBrick to use SSL in Rails 3?

Prior to Rails 3, you could modify the script/server file to add in
SSL parameters and tell the server command to use the HTTPS version of
webrick, now that all of those scripts are gone, does anyone know how
to get this to work?

I have figured out a solution and have posted it here: