{"id":23854035,"url":"https://github.com/lewangdev/certbot-self-hosting","last_synced_at":"2025-09-08T01:31:52.244Z","repository":{"id":225180268,"uuid":"765243418","full_name":"lewangdev/certbot-self-hosting","owner":"lewangdev","description":"A certbot container is used similarly to acme.sh","archived":false,"fork":false,"pushed_at":"2024-02-29T15:24:41.000Z","size":2,"stargazers_count":21,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-08T13:25:36.711Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lewangdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-02-29T14:51:52.000Z","updated_at":"2025-02-21T17:39:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"e824547f-6e99-440b-8e8b-40fa367c889a","html_url":"https://github.com/lewangdev/certbot-self-hosting","commit_stats":null,"previous_names":["lewangdev/certbot-self-hosting"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lewangdev/certbot-self-hosting","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lewangdev%2Fcertbot-self-hosting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lewangdev%2Fcertbot-self-hosting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lewangdev%2Fcertbot-self-hosting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lewangdev%2Fcertbot-self-hosting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lewangdev","download_url":"https://codeload.github.com/lewangdev/certbot-self-hosting/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lewangdev%2Fcertbot-self-hosting/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274121922,"owners_count":25225801,"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-09-07T02:00:09.463Z","response_time":67,"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":[],"created_at":"2025-01-02T23:51:33.393Z","updated_at":"2025-09-08T01:31:52.233Z","avatar_url":"https://github.com/lewangdev.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# certbot-self-hosting\n\n\n1. first request\n\n```\nexport domain=example.com\nexport certbot_home=/data/var/lib/certbot\n\nmkdir -p ${certbot_home}\nmkdir -p ${certbot_home}/credentials\nmkdir -p ${certbot_home}/letsencrypt\n\ntee ${certbot_home}/letsencrypt/${domain}.ini \u003c\u003c-EOF\nagree-tos = true\nno-eff-email = true\nauthenticator = dns-aliyun\npreferred-challenges = dns\ndns-aliyun-credentials = '/root/.secrets/aliyun.ini'\ndns-aliyun-propagation-seconds = 60\n\n# REQUIRED\nemail = your_email@xxx.com\n# REQUIRED\ndomains = '${domain},*.${domain}'\nEOF\n\n\ndocker run --rm \\\n    -v ${certbot_home}/credentials:/root/.secrets \\\n    -v ${certbot_home}/letsencrypt:/etc/letsencrypt \\\n    lewangdev/certbot \\\n    certonly -c /etc/letsencrypt/${domain}.ini\n```\n\n2. renew\n\n```\nexport domain=example.com\nexport certbot_home=/data/var/lib/certbot\n\nmkdir -p ${certbot_home}\nmkdir -p ${certbot_home}/credentials\nmkdir -p ${certbot_home}/letsencrypt\n\ntee ${certbot_home}/letsencrypt/${domain}.ini \u003c\u003c-EOF\nagree-tos = true\nno-eff-email = true\nauthenticator = dns-aliyun\npreferred-challenges = dns\ndns-aliyun-credentials = '/root/.secrets/aliyun.ini'\ndns-aliyun-propagation-seconds = 60\n\n# REQUIRED\nemail = your_email@xxx.com\n# REQUIRED\ndomains = '${domain},*.${domain}'\nEOF\n\n\ndocker run --rm \\\n    -v ${certbot_home}/credentials:/root/.secrets \\\n    -v ${certbot_home}/letsencrypt:/etc/letsencrypt \\\n    lewangdev/certbot \\\n    renew -c /etc/letsencrypt/${domain}.ini\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flewangdev%2Fcertbot-self-hosting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flewangdev%2Fcertbot-self-hosting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flewangdev%2Fcertbot-self-hosting/lists"}