mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-03-14 16:10:09 +08:00
added description for curanet provider
parent
bf2e0490a5
commit
1174ef95cb
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.
|
||||
|
||||
## 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user