{"id":24505165,"url":"https://github.com/levigo/acme.sh-plugin","last_synced_at":"2025-03-15T08:40:18.429Z","repository":{"id":146441893,"uuid":"246032250","full_name":"levigo/acme.sh-plugin","owner":"levigo","description":"A plugin for acme.sh using levigo's ACME-API to generate Let's-Encrypt certificates","archived":false,"fork":false,"pushed_at":"2020-10-21T14:02:43.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-04T13:46:12.989Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/levigo.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":"2020-03-09T12:40:19.000Z","updated_at":"2020-10-21T14:02:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"79c39286-5904-429b-b3e5-54d377ab1e52","html_url":"https://github.com/levigo/acme.sh-plugin","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/levigo%2Facme.sh-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levigo%2Facme.sh-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levigo%2Facme.sh-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levigo%2Facme.sh-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/levigo","download_url":"https://codeload.github.com/levigo/acme.sh-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243707297,"owners_count":20334614,"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":[],"created_at":"2025-01-21T23:28:53.319Z","updated_at":"2025-03-15T08:40:18.391Z","avatar_url":"https://github.com/levigo.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Plugin for `acme.sh` using levigo's ACME-API\n\nThis plugin provides [RFC8555 dns-01 validation](https://tools.ietf.org/html/rfc8555#section-8.4) on [levigo's nameservers](https://hosting.levigo.de/) for usage with [Let's-Encrypt](https://letsencrypt.org/).\n\n\n## Preparation\n\n* Reqest a levigo ACME-API account using [levigo's user support](https://levigo.de/support/).\n  * You can get multiple accounts restricted to different hostnames/domains or for the use on different hosts.\n\n* Install `acme.sh` from `github.com`.\n  * You may choose other folders than in the example given below.\n  * It is vital to supply an email address so [Let's-Encrypt](https://letsencrypt.org/) can reach you if there is an issue with one of your certificates. This should rather be a technical/group email address than a personal email address.\ne.g. your certificates are not being renewed.\n```bash\nsudo apt install git socat\ncd /tmp/\ngit clone https://github.com/Neilpang/acme.sh.git\ncd acme.sh/\nsudo ./acme.sh --install \\\n               --home /opt/acme.sh \\\n               --config-home /etc/acme.sh \\\n               --cert-home /etc/acme.sh/certs \\\n               --accountemail \"\u003cyour-email@example.com\u003e\"\n```\n\n\n## Installation\n\nPlace the `dns_levigo.sh`-plugin-script in the `acme.sh` plugin folder (in the example given above `/opt/acme.sh/dnsapi/`) and adjust the file's rights.\n\n\n## Usage\n\nFirst you need to provide your levigo ACME-API credentials. Either by editing the header of the `dns_levigo.sh`-script or by exporting the variables:\n```bash\nexport LEVIGO_USER=\u003cyour-username\u003e\nexport LEVIGO_PASS=\u003cyour-password\u003e\n```\n\nAfterwards, you are ready to issue Let's-Encrypt certificates:\n\n\n### Single Host 3072-bit RSA-certificate\n```bash\nsudo acme.sh --home /opt/acme.sh --config-home /etc/acme.sh/ \\\n             --issue --keylength 3072 --dns dns_levigo \\\n             --domain myhost.example.com\n```\n\n\n### Multihost 384-bit ECDSA-certificate\n```bash\nsudo acme.sh --home /opt/acme.sh --config-home /etc/acme.sh/ \\\n             --issue --keylength ec-384 --dns dns_levigo \\\n             --domain www.example.com --doman example.com\n```\n\n\n### Wildcard 384-bit ECDSA-certifcate + 4096-bit RSA-certificate\n```bash\nsudo acme.sh --home /opt/acme.sh --config-home /etc/acme.sh/ \\\n             --issue --keylength ec-384 --dns dns_levigo \\\n             --domain *.example.com\nsudo acme.sh --home /opt/acme.sh --config-home /etc/acme.sh/ \\\n             --issue --keylength 4096   --dns dns_levigo \\\n             --domain *.example.com\n```\n\n### Using DNS alias mode\nThis is useful for zones that are not served by levigo nameservers.\n\nSetup a permanent `CNAME` with a preceeding `_acme-challenge.` before the hostname you want a certificate for.\n```bash\n_acme-challenge.myhost.example.com   IN CNAME   _acme-challenge.myhost.example.com.acme.levigo.net\n```\nIssue the certificate:\n```bash\nsudo acme.sh --home /opt/acme.sh --config-home /etc/acme.sh/ \\\n             --issue --keylength 3072 --dns dns_levigo \\\n             --challenge-alias myhost.example.com.acme.levigo.net\n             --domain myhost.example.com\n```\n\n\nPlease refer to the respective website for further infomation about the usage of the [`acme.sh`-script](https://acme.sh/) or [Let's-Encrypt](https://letsencrypt.org/).\n\n\n## Check the installation\n\nYour newly generated certificates can be found in the folder `/etc/acme.sh/certs`.\n\nThe installation script should have modified the `crontab`. This is necessary to renew your certificates when needed.\nYou can check this by issuing `sudo crontab -e`.\nA line like the example below should have been added to your `crontab` and may be edited to your needs.\n```bash\n41 0 * * * \"/opt/acme.sh\"/acme.sh --cron --home \"/opt/acme.sh/\" --config-home \"/etc/acme.sh/\" \u003e /dev/null\n```\n\nYou may also modify the configuration file `/etc/acme.sh/account.conf` to your needs. E.g. enable logging or auto-upgrade of the `acme.sh`-script.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flevigo%2Facme.sh-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flevigo%2Facme.sh-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flevigo%2Facme.sh-plugin/lists"}