Tip how to force dns script to be executed after a domain was previously validated

master
Maddes 2024-08-28 22:26:24 +02:00
parent 082bd5bcb3
commit 92d421decf
1 changed files with 4 additions and 0 deletions

@ -6,6 +6,10 @@ This guide is to help any developer interested to build a brand new DNS API for
1. It's normal to run into errors, so do use `--debug 2` when testing. For e.g., `acme.sh --issue --debug 2 -d example.com --dns dns_myapi` 1. It's normal to run into errors, so do use `--debug 2` when testing. For e.g., `acme.sh --issue --debug 2 -d example.com --dns dns_myapi`
2. It's normal to burst rate limits for Let's Encrypt, so do use `--staging` when testing. For e.g., `acme.sh --issue --staging --debug 2 -d example.com --dns dns_myapi` Read [issue 1787](https://github.com/acmesh-official/acme.sh/issues/1787) for details. Remember to remove `--staging` after testing. 2. It's normal to burst rate limits for Let's Encrypt, so do use `--staging` when testing. For e.g., `acme.sh --issue --staging --debug 2 -d example.com --dns dns_myapi` Read [issue 1787](https://github.com/acmesh-official/acme.sh/issues/1787) for details. Remember to remove `--staging` after testing.
3. It's normal that the dns script is not run if the domain was validated before. Forcing execution of the DNS API script can be achieved by clearing the "valid" status of a domain at Lets Encrypt via the `--deactivate` command. Wildcard domains have their own status, so these have to be deactivated separately.
```
acme.sh --deactivate [--server letsencrypt_test] -d 'test.example.com' -d '*.test.example.com'
```
Let's assume your API name is `myapi`, and you will use your API like: Let's assume your API name is `myapi`, and you will use your API like: