mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-01-16 05:12:08 +08:00
added description for curanet provider
21
dnsapi.md
21
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.
|
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
|
# Use custom API
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user