Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cbetta/sinatra-letsencrypt-heroku-demo
Using LetsEncrypt with Sinatra on Heroku
https://github.com/cbetta/sinatra-letsencrypt-heroku-demo
heroku letsencrypt sinatra ssl tutorial
Last synced: 3 days ago
JSON representation
Using LetsEncrypt with Sinatra on Heroku
- Host: GitHub
- URL: https://github.com/cbetta/sinatra-letsencrypt-heroku-demo
- Owner: cbetta
- License: mit
- Created: 2016-10-28T17:14:49.000Z (about 8 years ago)
- Default Branch: after
- Last Pushed: 2023-04-17T15:36:53.000Z (over 1 year ago)
- Last Synced: 2024-04-09T15:15:45.181Z (7 months ago)
- Topics: heroku, letsencrypt, sinatra, ssl, tutorial
- Language: Ruby
- Homepage: https://betta.io/blog/2016/10/28/using-letsencrypt-with-sinatra-on-heroku/
- Size: 8.79 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Using LetsEncrypt with Sinatra on Heroku
This is a short and straightforward tutorial showing how to use [Sinatra](http://www.sinatrarb.com/) on [Heroku](https://heroku.com) with an auto-renewing SSL certificate from [LetsEncrypt](https://letsencrypt.org/).
LetsEncrypt is awesome because it's believes security should be built into the web without any extra cost.
The code for this demo can be found here. There is both a `before` and `after` branch with the code before and after I added SSL respectively.
[Read the full tutorial.](https://betta.io/blog/2016/10/28/using-letsencrypt-with-sinatra-on-heroku/)
## What this will cover
* Create a basic Sinatra app that shows a basic `Hello World` message
* Deploy to Heroku will allow us to see the app in action before we add SSL.
* Add LetsEncrypt capabilities to the application.
* Configure the certificate to match our domain, before we can create it.
* Create a certificate and automatically store it with Heroku.
* Enforce SSL so the site can no longer be served over `http`.
* Schedule renewal of the certificate so you never have to get involved again.[Read the full tutorial.](https://betta.io/blog/2016/10/28/using-letsencrypt-with-sinatra-on-heroku/)