mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-01-15 21:08:20 +08:00
Updated dnsapi (markdown)
21
dnsapi.md
21
dnsapi.md
@@ -2030,6 +2030,27 @@ acme.sh --issue --dns dns_nm -d example.com -d www.example.com
|
|||||||
|
|
||||||
The `NM_user` and `NM_md5` will be saved in `~/.acme.sh/account.conf` and will be reused when needed.
|
The `NM_user` and `NM_md5` will be saved in `~/.acme.sh/account.conf` and will be reused when needed.
|
||||||
|
|
||||||
|
## 101. Use HostingUkraine domain API
|
||||||
|
|
||||||
|
How get your API credentials: https://api.adm.tools/osnovnie-polozheniya/dostup-k-api/
|
||||||
|
Add your credentials:
|
||||||
|
```
|
||||||
|
# Your login:
|
||||||
|
HostingUkraine_Login="XXX"
|
||||||
|
# Your api token:
|
||||||
|
HostingUkraine_Token="XXX"
|
||||||
|
```
|
||||||
|
|
||||||
|
To issue a cert:
|
||||||
|
```
|
||||||
|
./acme.sh --issue --dns dns_hostingukraine -d yourdomain.com -d www.yourdomain.com
|
||||||
|
```
|
||||||
|
To issue a wildcard cert:
|
||||||
|
```
|
||||||
|
./acme.sh --issue --dns dns_hostingukraine -d yourdomain.com -d '*.yourdomain.com'
|
||||||
|
```
|
||||||
|
|
||||||
|
The `HostingUkraine_Login` and `HostingUkraine_Token` 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