{"id":16407420,"url":"https://github.com/leandromoreira/tls_certificate_generation","last_synced_at":"2025-10-04T00:31:16.192Z","repository":{"id":141425746,"uuid":"72963798","full_name":"leandromoreira/tls_certificate_generation","owner":"leandromoreira","description":"Use temporary Amazon EC2 / Digital Ocean cloud machines to get / renew letsencrypt certificates","archived":false,"fork":false,"pushed_at":"2017-02-04T17:03:11.000Z","size":12,"stargazers_count":28,"open_issues_count":0,"forks_count":8,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-13T22:50:21.270Z","etag":null,"topics":["aws","certificates","digital-ocean","letsencrypt"],"latest_commit_sha":null,"homepage":"https://github.com/leandromoreira/tls_certificate_generation","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leandromoreira.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-11-06T01:39:10.000Z","updated_at":"2023-09-08T17:16:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"911e7f1e-2f73-4c33-a787-0f42d9360d7c","html_url":"https://github.com/leandromoreira/tls_certificate_generation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leandromoreira%2Ftls_certificate_generation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leandromoreira%2Ftls_certificate_generation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leandromoreira%2Ftls_certificate_generation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leandromoreira%2Ftls_certificate_generation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leandromoreira","download_url":"https://codeload.github.com/leandromoreira/tls_certificate_generation/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235204488,"owners_count":18952329,"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":["aws","certificates","digital-ocean","letsencrypt"],"created_at":"2024-10-11T06:13:51.914Z","updated_at":"2025-10-04T00:31:10.907Z","avatar_url":"https://github.com/leandromoreira.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![license](https://img.shields.io/badge/license-BSD--3--Clause-blue.svg)](https://img.shields.io/badge/license-BSD--3--Clause-blue.svg)\n\n# Create / Renew [letsencrypt](https://letsencrypt.org) certificates using temporary [Amazon EC2](https://aws.amazon.com/ec2/) / [Digital Ocean](https://www.digitalocean.com/) machines  #\n\n### Steps ###\n\n* Make sure you have docker installed\n* Configure your domains / email at `nginx/sites-enabled/site.conf`\n* For AWS usage\n  * Run `EC2_AKEY=xxx EC2_SKEY=yyy EC2_VPCID=kkk ./renew.sh` and follow the steps (like configuring DNS and etc)\n* For DO usage\n  * Run `DO_ATOKEN=xxx ./renew.sh digitalocean` and follow the steps (like configuring DNS and etc)\n* Get the certificates `privkey1.pem` and `fullchain1.pem`.\n\n### Bonus round ###\n\nYou can also transfer the downloaded certificates to your site, there is an opinionated script `upload_certs_on_nginx`.\n\n* Make sure you have bound to your docker machine already (ex:`eval \"$(docker-machine --storage-path /usr/local/share/web/docker_machines/ env mysite)\"`)\n* Double check the content of `upload_certs_on_nginx`, it assumes: container name, certificate path and others.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleandromoreira%2Ftls_certificate_generation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleandromoreira%2Ftls_certificate_generation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleandromoreira%2Ftls_certificate_generation/lists"}