From 846ba1b03452eb074b365d4c80c7a779f5502a2c Mon Sep 17 00:00:00 2001 From: Kent Varmedal Date: Tue, 20 Aug 2019 11:20:22 +0200 Subject: [PATCH] Add description for the Domeneshop DNS API --- dnsapi.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) 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.