Add description for the Domeneshop DNS API
parent
431b3e7efc
commit
846ba1b034
20
dnsapi.md
20
dnsapi.md
|
@ -1692,6 +1692,26 @@ If you find any bugs, please report here:
|
|||
https://github.com/Neilpang/acme.sh/issues/2389
|
||||
|
||||
|
||||
## 85. Use Domeneshop DNS API to automatically issue a cert
|
||||
|
||||
You'll have to get a Domeneshop API key and secret (https://api.domeneshop.no/docs/).
|
||||
|
||||
```
|
||||
export DOMENESHOP_Token="1234567890"
|
||||
export DOMENESHOP_Secret="1234567890abcdefghijklmnopqrstuvw"
|
||||
```
|
||||
|
||||
Ok, let's issue a cert now:
|
||||
```
|
||||
acme.sh --issue --dns dns_domeneshop -d example.com -d www.example.com
|
||||
```
|
||||
|
||||
The `DOMENESHOP_Token` and `DOMENESHOP_Secret` will be saved in `~/.acme.sh/account.conf` and will be reused when needed.
|
||||
|
||||
If you find any bugs, please report here:
|
||||
|
||||
https://github.com/Neilpang/acme.sh/issues/2457
|
||||
|
||||
# Use custom API
|
||||
|
||||
If your API is not supported yet, you can write your own DNS API.
|
||||
|
|
Loading…
Reference in New Issue