{"id":19780481,"url":"https://github.com/cbetta/sinatra-letsencrypt-heroku-demo","last_synced_at":"2025-08-02T21:33:53.979Z","repository":{"id":12553415,"uuid":"72227131","full_name":"cbetta/sinatra-letsencrypt-heroku-demo","owner":"cbetta","description":"Using LetsEncrypt with Sinatra on Heroku","archived":false,"fork":false,"pushed_at":"2023-04-17T15:36:53.000Z","size":9,"stargazers_count":2,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"after","last_synced_at":"2025-02-28T12:41:33.310Z","etag":null,"topics":["heroku","letsencrypt","sinatra","ssl","tutorial"],"latest_commit_sha":null,"homepage":"https://betta.io/blog/2016/10/28/using-letsencrypt-with-sinatra-on-heroku/","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cbetta.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-28T17:14:49.000Z","updated_at":"2023-01-31T16:45:55.000Z","dependencies_parsed_at":"2025-02-28T06:55:34.854Z","dependency_job_id":"853f2b91-ed67-4dee-85ce-01fcd7e1f088","html_url":"https://github.com/cbetta/sinatra-letsencrypt-heroku-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cbetta/sinatra-letsencrypt-heroku-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbetta%2Fsinatra-letsencrypt-heroku-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbetta%2Fsinatra-letsencrypt-heroku-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbetta%2Fsinatra-letsencrypt-heroku-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbetta%2Fsinatra-letsencrypt-heroku-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cbetta","download_url":"https://codeload.github.com/cbetta/sinatra-letsencrypt-heroku-demo/tar.gz/refs/heads/after","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbetta%2Fsinatra-letsencrypt-heroku-demo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268456822,"owners_count":24253293,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["heroku","letsencrypt","sinatra","ssl","tutorial"],"created_at":"2024-11-12T05:39:56.126Z","updated_at":"2025-08-02T21:33:53.929Z","avatar_url":"https://github.com/cbetta.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Using LetsEncrypt with Sinatra on Heroku\n\nThis 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/).\n\nLetsEncrypt is awesome because it's believes security should be built into the web without any extra cost.\n\nThe 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.\n\n[Read the full tutorial.](https://betta.io/blog/2016/10/28/using-letsencrypt-with-sinatra-on-heroku/)\n\n## What this will cover\n\n* Create a basic Sinatra app that shows a basic `Hello World` message\n* Deploy to Heroku will allow us to see the app in action before we add SSL.\n* Add LetsEncrypt capabilities to the application.\n* Configure the certificate to match our domain, before we can create it.\n* Create a certificate and automatically store it with Heroku.\n* Enforce SSL so the site can no longer be served over `http`.\n* Schedule renewal of the certificate so you never have to get involved again.\n\n[Read the full tutorial.](https://betta.io/blog/2016/10/28/using-letsencrypt-with-sinatra-on-heroku/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbetta%2Fsinatra-letsencrypt-heroku-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcbetta%2Fsinatra-letsencrypt-heroku-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbetta%2Fsinatra-letsencrypt-heroku-demo/lists"}