From 1174ef95cbe0329bd9ac30ff0ca82dea16587e37 Mon Sep 17 00:00:00 2001 From: peterlh Date: Wed, 9 Feb 2022 15:30:15 +0100 Subject: [PATCH] added description for curanet provider --- dnsapi.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) 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