{"id":18446855,"url":"https://github.com/nmeum/acme-mock","last_synced_at":"2026-07-27T06:31:17.786Z","repository":{"id":57573046,"uuid":"208581795","full_name":"nmeum/acme-mock","owner":"nmeum","description":"An ACME server implementation performing no validations","archived":false,"fork":false,"pushed_at":"2024-12-30T22:40:48.000Z","size":38,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-19T08:43:36.629Z","etag":null,"topics":["acme","acme-protocol"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nmeum.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-09-15T11:10:04.000Z","updated_at":"2024-12-30T22:40:51.000Z","dependencies_parsed_at":"2024-06-20T07:17:26.478Z","dependency_job_id":"bd589061-a296-4f13-99ab-51d7dcdbbc3e","html_url":"https://github.com/nmeum/acme-mock","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nmeum/acme-mock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nmeum%2Facme-mock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nmeum%2Facme-mock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nmeum%2Facme-mock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nmeum%2Facme-mock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nmeum","download_url":"https://codeload.github.com/nmeum/acme-mock/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nmeum%2Facme-mock/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35941123,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-27T02:00:06.776Z","response_time":101,"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":["acme","acme-protocol"],"created_at":"2024-11-06T07:11:04.929Z","updated_at":"2026-07-27T06:31:17.759Z","avatar_url":"https://github.com/nmeum.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# acme-mock\n\nAn [ACME][RFC 8555] server implementation performing no validations.\n\n## Motivation\n\nI make heavy use of ACME in [ansible][ansible homepage] playbooks.\nOccasionally, I test these playbooks in virtual machines. Unfortunately,\nthese virtual machines are incapable of completing ACME challenges and\ntherefore don't receive any certificates from configured ACME servers.\nWithout these certificates many daemons will refuse to start causing\nfailures of ansible tasks. For this reason, I implemented a simple ACME\nserver which doesn't perform any validations and always signs the given\ncertificate signing requests.\n\n## Status\n\nHorrible hack, didn't read the RFC and only implemented the parts needed\nto make [acme-tiny][acme-tiny github] work.\n\n## Usage\n\nThis software has no external dependencies and can be installed using:\n\n\t$ go get github.com/nmeum/acme-mock\n\nSince ACME requires HTTPS, a TLS certificate is needed. A bogus\ncertificate can be generated with `openssl`:\n\n\t$ yes \"\" | openssl req -x509 -nodes -newkey rsa:4096 \\\n\t\t-keyout key.pem -out cert.pem\n\nThe generated TLS certificate and key need to be passed to `acme-mock`.\nAdditionally, the certificate needs to be added to the certificate store\nof the virtual machine. Afterwards, the ACME client needs to be\nconfigured to use the `acme-mock` directory. The URL of the directory\nresource depends on the address parameter, it defaults to\n`https://localhost/directory`. The certificate, used for processing\ncertificate signing requests, is generated on startup.\n\n### Certbot\n\nCertbot can be used against this ACME mock to retrieve mock certificates.\n\n```\ncertbot certonly --standalone -d \u003cyour_domain\u003e --server https://localhost/directory --register-unsafely-without-email\n```\n\n## License\n\nThis program is free software: you can redistribute it and/or modify it\nunder the terms of the GNU Affero General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or (at\nyour option) any later version.\n\nThis program is distributed in the hope that it will be useful, but\nWITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\nGeneral Public License for more details.\n\nYou should have received a copy of the GNU Affero General Public License\nalong with this program. If not, see \u003chttps://www.gnu.org/licenses/\u003e.\n\n[RFC 8555]: https://tools.ietf.org/html/rfc8555\n[ansible homepage]: https://ansible.com/\n[acme-tiny github]: https://github.com/diafygi/acme-tiny\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnmeum%2Facme-mock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnmeum%2Facme-mock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnmeum%2Facme-mock/lists"}