From 485d3e0352148ca8b88593a0e0d9b279310076e2 Mon Sep 17 00:00:00 2001 From: rserpent <53250916+rserpent@users.noreply.github.com> Date: Wed, 16 Oct 2019 15:56:31 +0500 Subject: [PATCH] nic.ru dnsapi usage --- dnsapi.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/dnsapi.md b/dnsapi.md index 4d5809d..3b2f83c 100644 --- a/dnsapi.md +++ b/dnsapi.md @@ -1790,6 +1790,26 @@ acme.sh --issue --dns dns_miab -d example.com -d www.example.com The `MIAB_Username`, `MIAB_Password` and `MIAB_Server` will be saved in `~/.acme.sh/account.conf` and will be reused when needed. +## 89. Use nic.ru DNS +You need to login to nic.ru account and get your NIC_Token [here](https://www.nic.ru/manager/oauth.cgi?step=oauth.app_register). + +Docs: https://www.nic.ru/help/upload/file/API_DNS-hosting-en.pdf + +``` +export NIC_Username='000000/NIC-D' +export NIC_Password='xxxxxxxx' +export NIC_Token='YOUR_TOKEN_HERE' +``` + +To issue a cert: +``` +acme.sh --issue --dns dns_nic -d domain.com -d www.domain.com +``` +The NIC_Username, NIC_Password and NIC_Token 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/2547 # Use custom API