From 2af463fb87750764ddc4c194a2154e3de8594917 Mon Sep 17 00:00:00 2001 From: baiyangliu Date: Sun, 20 Nov 2016 22:14:10 +0800 Subject: [PATCH] Update README.md --- dnsapi/README.md | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/dnsapi/README.md b/dnsapi/README.md index f1df726f..663935c3 100644 --- a/dnsapi/README.md +++ b/dnsapi/README.md @@ -185,7 +185,24 @@ acme.sh --issue --dns dns_me -d example.com -d www.example.com The `ME_Key` and `ME_Secret` will be saved in `~/.acme.sh/account.conf` and will be reused when needed. -# 10. Use custom API +## 10. Use Aliyun domain API to automatically issue cert + +First you need to login to your Aliyun account to get your API key. +[https://ak-console.aliyun.com/#/accesskey](https://ak-console.aliyun.com/#/accesskey) + +``` +export Ali_Key="sdfsdfsdfljlbjkljlkjsdfoiwje" +export Ali_Secret="jlsdflanljkljlfdsaklkjflsa" +``` + +Ok, let's issue a cert now: +``` +acme.sh --issue --dns dns_ali -d example.com -d www.example.com +``` + +The `Ali_Key` and `Ali_Secret` will be saved in `~/.acme.sh/account.conf` and will be reused when needed. + +# 11. Use custom API If your API is not supported yet, you can write your own DNS API. @@ -202,6 +219,6 @@ acme.sh --issue --dns dns_myapi -d example.com -d www.example.com For more details, please check our sample script: [dns_myapi.sh](dns_myapi.sh) -## 11. Use lexicon DNS API +## 12. Use lexicon DNS API https://github.com/Neilpang/acme.sh/wiki/How-to-use-lexicon-dns-api