Skip to content

Commit

Permalink
letsencrypt: refactor configuration and align with documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
GoetzGoerisch committed Feb 21, 2025
1 parent 25ef784 commit 456d624
Show file tree
Hide file tree
Showing 5 changed files with 244 additions and 131 deletions.
1 change: 1 addition & 0 deletions letsencrypt/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## 5.3.4

- Improve documentation
- Refactor configuration and align with documentation

## 5.3.3

Expand Down
174 changes: 124 additions & 50 deletions letsencrypt/DOCS.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ There are two options to obtain certificates.

### DNS providers

<!-- Developer note: please add a new plugin alphabetically into all lists -->

<details>
<summary>Supported DNS providers</summary>

Expand Down Expand Up @@ -91,87 +93,94 @@ dns-websupport (currently disable - see changelog)

```yaml
propagation_seconds: 60
aws_access_key_id: ''
aws_secret_access_key: ''
azure_config: ''
cloudflare_email: ''
cloudflare_api_key: ''
cloudflare_api_token: ''
cloudflare_email: ''
cloudns_auth_id: ''
cloudns_auth_password: ''
cloudns_sub_auth_id: ''
cloudns_sub_auth_user: ''
cloudns_auth_password: ''
desec_token: ''
digitalocean_token: ''
directadmin_password: ''
directadmin_url: ''
directadmin_username: ''
directadmin_password: ''
dnsimple_token: ''
dnsmadeeasy_api_key: ''
dnsmadeeasy_secret_key: ''
domainoffensive_token: ''
dreamhost_api_baseurl: ''
dreamhost_api_key: ''
duckdns_token: ''
dynu_auth_token: ''
eurodns_applicationId: ''
easydns_endpoint: ''
easydns_key: ''
easydns_token: ''
eurodns_apiKey: ''
google_creds: ''
hetzner_api_token: ''
gehirn_api_token: ''
eurodns_applicationId: ''
gandi_api_key: ''
gandi_sharing_id: ''
gandi_token: ''
gehirn_api_secret: ''
godaddy_secret: ''
gehirn_api_token: ''
godaddy_key: ''
godaddy_secret: ''
google_creds: ''
he_pass: ''
he_user: ''
hetzner_api_token: ''
infomaniak_api_token: ''
inwx_password: ''
inwx_shared_secret: ''
inwx_username: ''
ionos_endpoint: ''
ionos_prefix: ''
ionos_secret: ''
ionos_endpoint: ''
joker_username: ''
joker_password: ''
joker_domain: ''
joker_password: ''
joker_username: ''
linode_key: ''
linode_version: ''
loopia_user: ''
loopia_password: ''
loopia_user: ''
luadns_email: ''
luadns_token: ''
mijn_host_api_key: ''
namecheap_api_key: ''
namecheap_username: ''
netcup_api_key: ''
netcup_api_password: ''
netcup_customer_id: ''
njalla_token: ''
noris_token: ''
nsone_api_key: ''
ovh_endpoint: ''
ovh_application_key: ''
ovh_application_secret: ''
ovh_consumer_key: ''
rfc2136_server: ''
rfc2136_port: ''
ovh_endpoint: ''
plesk_api_url: ''
plesk_password: ''
plesk_username: ''
porkbun_key: ''
porkbun_secret: ''
rfc2136_algorithm: ''
rfc2136_name: ''
rfc2136_port: ''
rfc2136_secret: ''
rfc2136_algorithm: ''
rfc2136_server: ''
rfc2136_sign_query: false
aws_access_key_id: ''
aws_secret_access_key: ''
sakuracloud_api_token: ''
sakuracloud_api_secret: ''
namecheap_username: ''
namecheap_api_key: ''
netcup_customer_id: ''
netcup_api_key: ''
netcup_api_password: ''
gandi_api_key: ''
gandi_token: ''
gandi_sharing_id: ''
transip_username: ''
transip_api_key: ''
transip_global_key: ''
inwx_username: ''
inwx_password: ''
inwx_shared_secret: ''
porkbun_key: ''
porkbun_secret: ''
dreamhost_api_baseurl: ''
dreamhost_api_key: ''
domainoffensive_token: ''
plesk_username: ''
plesk_password: ''
plesk_api_url: ''
sakuracloud_api_token: ''
simply_account_name: ''
simply_api_key: ''
transip_api_key: ''
transip_global_key: ''
transip_username: ''
websupport_identifier: ''
websupport_secret_key: ''
```
</details>
Expand Down Expand Up @@ -473,11 +482,22 @@ API Users have full account access. It is recommended to create an API Sub-user
<details>
<summary>DigitalOcean</summary>

Lorem ipsum
Use of this plugin requires a configuration file containing DigitalOcean API credentials, obtained from your DigitalOcean account’s [Applications & API Tokens page](https://cloud.digitalocean.com/settings/api/tokens).

```yaml
email: mail@domain.tld
domains:
- your.domain.tld
certfile: fullchain.pem
keyfile: privkey.pem
challenge: dns
dns:
provider: dns-digitalocean
digitalocean_token: digitalocean-token
```

[Full Documentation](https://certbot-dns-digitalocean.readthedocs.io/en/stable/)

</details>

<details>
Expand Down Expand Up @@ -517,26 +537,51 @@ Example configuration:
<details>
<summary>dnsimple</summary>

Lorem ipsum
Use of this plugin requires a configuration file containing DNSimple API credentials, obtained from your DNSimple [account page](https://dnsimple.com/user).

```yaml
email: mail@domain.tld
domains:
- your.domain.tld
certfile: fullchain.pem
keyfile: privkey.pem
challenge: dns
dns:
provider: dns-simple
dnsimple_token: dnssimple-token
```

[Full Documentation](https://certbot-dns-dnsimple.readthedocs.io/en/stable/)

</details>

<details>
<summary>dnsmadeeasy</summary>

Lorem ipsum
Use of this plugin requires a configuration file containing DNS Made Easy API credentials, obtained from your DNS Made Easy [account page](https://cp.dnsmadeeasy.com/account/info).

```yaml
email: your.email@example.com
domains:
- your.domain.tld
certfile: fullchain.pem
keyfile: privkey.pem
challenge: dns
dns:
provider: dns-dnsmadeeasy
dnsmadeeasy_api_key: dnsmadeeasy-api-key
dnsmadeeasy_secret_key: dnsmadeeasy-secret-key
```

[Full Documentation](https://certbot-dns-dnsmadeeasy.readthedocs.io/en/stable/)

</details>

<details>
<summary>domainoffensive</summary>

Use of this plugin requires an API token, obtained from domainoffensive account page in the menu under `Domains` -> `Settings` -> *Let's Encrypt API token`.

```yaml
email: your.email@example.com
domains:
Expand All @@ -546,13 +591,17 @@ Lorem ipsum
challenge: dns
dns:
provider: dns-domainoffensive
domainoffensive_token: *****
domainoffensive_token: domainoffensive-token
```

[Full Documentation DE](https://www.do.de/wiki/freie-ssl-tls-zertifikate-ueber-acme/)

</details>

<details>
<summary>Dreamhost</summary>
<summary>DreamHost</summary>

Use of this plugin an API key from DreamHost with `dns-*` permissions. You can get it [here](https://panel.dreamhost.com/?tree=home.api)

```yaml
email: your.email@example.com
Expand All @@ -564,19 +613,31 @@ Lorem ipsum
dns:
provider: dns-dreamhost
dreamhost_baseurl: https://api.dreamhost.com/
dreamhost_api_key: XXXXXX
dreamhost_api_key: dreamhost-api-key
```

</details>

<details>
<summary>DuckDNS</summary>

Lorem ipsum
Use of this plugin requires an API token, obtained from the DuckDNS account page.

```yaml
email: your.email@example.com
domains:
- your.domain.tld
certfile: fullchain.pem
keyfile: privkey.pem
challenge: dns
dns:
provider: dns-duckdns
duckdns_token: duckdns-token
```

[Full documentation](https://github.com/infinityofspace/certbot_dns_duckdns?tab=readme-ov-file#usage)

</details>

<details>
Expand Down Expand Up @@ -620,7 +681,7 @@ easyDNS REST API access must be requested and granted in order to use this modul
</details>

<details>
<summary>Eurodns DNS challenge</summary>
<summary>EuroDNS</summary>

You can configure the APP id and the API key in the API Users area of the Eurodns control panel: <https://my.eurodns.com/apiusers>

Expand All @@ -642,11 +703,24 @@ dns:
<details>
<summary>Gandi</summary>

Lorem ipsum
Use of this plugin requires an [PersonalAccessToken](https://helpdesk.gandi.net/hc/en-us/articles/14051397687324-Personal-Access-Tokens) for the [Gandi LiveDNS API](https://api.gandi.net/docs/livedns/) with `Domains` scope for the `domain.tld` you are going to request a certificate for.
If you only have an Gandi LiveDNS `API key`, please refer to the [FAQ](https://github.com/obynio/certbot-plugin-gandi?tab=readme-ov-file#faq) on how to use this.
Due to the wide scope of this `API key`, this is not the recommended setup.

```yaml
email: your.email@example.com
domains:
- your.domain.tld
certfile: fullchain.pem
keyfile: privkey.pem
challenge: dns
dns:
provider: dns-gandi
gandi_token: gandi-personalaccesstoken
```

[Full Documentation](https://github.com/obynio/certbot-plugin-gandi?tab=readme-ov-file)

</details>

<details>
Expand Down
Loading

0 comments on commit 456d624

Please sign in to comment.