{"id":15491622,"url":"https://github.com/remi/plug_letsencrypt","last_synced_at":"2025-12-11T23:34:36.599Z","repository":{"id":57534733,"uuid":"82168729","full_name":"remi/plug_letsencrypt","owner":"remi","description":"PlugLetsEncrypt responds to Let’s Encrypt domain verification requests.","archived":false,"fork":false,"pushed_at":"2017-02-16T11:11:17.000Z","size":10,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-19T10:06:07.733Z","etag":null,"topics":["elixir","http","letsencrypt","plug"],"latest_commit_sha":null,"homepage":null,"language":"Elixir","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/remi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-16T10:26:55.000Z","updated_at":"2024-04-07T08:39:12.000Z","dependencies_parsed_at":"2022-09-26T18:21:43.559Z","dependency_job_id":null,"html_url":"https://github.com/remi/plug_letsencrypt","commit_stats":null,"previous_names":["remiprev/plug_letsencrypt"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remi%2Fplug_letsencrypt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remi%2Fplug_letsencrypt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remi%2Fplug_letsencrypt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remi%2Fplug_letsencrypt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/remi","download_url":"https://codeload.github.com/remi/plug_letsencrypt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250306661,"owners_count":21408936,"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","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":["elixir","http","letsencrypt","plug"],"created_at":"2024-10-02T07:54:39.683Z","updated_at":"2025-12-11T23:34:31.567Z","avatar_url":"https://github.com/remi.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"PlugLetsEncrypt\n=================\n\n[![Travis](https://img.shields.io/travis/remiprev/plug_letsencrypt.svg?style=flat-square)](https://travis-ci.org/remiprev/plug_letsencrypt)\n[![Hex.pm](https://img.shields.io/hexpm/v/plug_letsencrypt.svg?style=flat-square)](https://hex.pm/packages/plug_letsencrypt)\n\n`PlugLetsEncrypt` responds to Let’s Encrypt domain verification requests.\n\nInstallation\n------------\n\nAdd `plug_letsencrypt` to the `deps` function in your project's `mix.exs` file:\n\n```elixir\ndefp deps do\n  [\n    …,\n    {:plug_letsencrypt, \"~\u003e 0.2\"}\n  ]\nend\n```\n\nThen run `mix do deps.get, deps.compile` inside your project's directory.\n\nUsage\n-----\n\n`PlugLetsEncrypt` can be used just as any other plugs. Add `PlugLetsEncrypt`\nwith your other plugs and provide a response to serve.\n\n```elixir\ndefmodule Endpoint do\n  plug PlugLetsEncrypt, response: System.get_env(\"LETSENCRYPT_RESPONSE\")\nend\n```\n\nThe `LETSENCRYPT_RESPONSE` is the response Let’s Encrypt will be looking for,\nsomething like:\n\n```bash\nLETSENCRYPT_RESPONSE=esLXAidxzFUn2kkakqeqwe4Z6VqtechtQtF0.yJLghAfMirn4ejUskeB-GrqSb411923hjX-OWUvDtgc\n```\n\nThe result:\n\n```bash\n$ curl -XGET \"http://localhost:4000/.well-known/acme-challenge/esLXAidxzFUn2kkakqeqwe4Z6VqtechtQtF0\"\nesLXAidxzFUn2kkakqeqwe4Z6VqtechtQtF0.yJLghAfMirn4ejUskeB-GrqSb411923hjX-OWUvDtgc\n\n$ curl -XGET \"http://localhost:4000/.well-known/acme-challenge/anything\"\n```\n\nLicense\n-------\n\n`PlugLetsEncrypt` is © 2017 [Rémi Prévost](http://exomel.com) and may be\nfreely distributed under the [MIT license](https://github.com/remiprev/plug_letsencrypt/blob/master/LICENSE.md). See the\n`LICENSE.md` file for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremi%2Fplug_letsencrypt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fremi%2Fplug_letsencrypt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremi%2Fplug_letsencrypt/lists"}