diff --git a/dnsapi.md b/dnsapi.md index 331ea68..50c3523 100644 --- a/dnsapi.md +++ b/dnsapi.md @@ -2861,6 +2861,27 @@ acme.sh --issue --dns dns_udr -d example.com -d *.example.com The `UDR_USER` and `UDR_PASS` will be saved in `~/.acme.sh/account.conf` and will be reused when needed. +## 142. Using the curanet DNS API + +Login to your curanet account, create a new API Application, and use client_id and secret as shown below + +```sh +export CURANET_AUTHCLIENTID="..." +export CURANET_AUTHSECRET="..." +``` + +To issue a certificate, execute: +```sh +acme.sh --issue --dns dns_curanet -d example.com -d www.example.com +``` + +To issue a wildcard certificate, execute: +```sh +acme.sh --issue --dns dns_curanet -d example.com -d *.example.com +``` + +The `CURANET_AUTHCLIENTID` and `CURANET_AUTHSECRET` will be saved in `~/.acme.sh/account.conf` and will be reused when needed. + # ################## # Use custom API