diff --git a/dnsapi.md b/dnsapi.md index 2ab1a5f..c5c4acd 100644 --- a/dnsapi.md +++ b/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.