From 2510957beec702318aebe44153bc6f79673f4e70 Mon Sep 17 00:00:00 2001 From: sjau Date: Thu, 24 Nov 2016 15:50:49 +0100 Subject: [PATCH] Restoring master READMEs --- README.md | 2 +- dnsapi/README.md | 27 +++++++++++---------------- 2 files changed, 12 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index cd277984..724f6eed 100644 --- a/README.md +++ b/README.md @@ -260,7 +260,7 @@ You don't have to do anything manually! 1. LuaDNS.com API 1. DNSMadeEasy.com API 1. nsupdate API -1. ISPConfig 3.1 API +1. aliyun.com(阿里云) API **More APIs coming soon...** diff --git a/dnsapi/README.md b/dnsapi/README.md index 6d830b15..ca9b08d9 100644 --- a/dnsapi/README.md +++ b/dnsapi/README.md @@ -201,27 +201,22 @@ acme.sh --issue --dns dns_aws -d example.com -d www.example.com The `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` will be saved in `~/.acme.sh/account.conf` and will be reused when needed. -## 11. Use ISPConfig 3.1 API +## 11. Use Aliyun domain API to automatically issue cert -This only works for ISPConfig 3.1 (and newer). - -Create a Remote User in the ISPConfig Control Panel. The Remote User must have access to at least `DNS zone functions` and `DNS txt functions`. +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 ISPC_User="xxx" -export ISPC_Password="xxx" -export ISPC_Api="https://ispc.domain.tld:8080/remote/json.php" -export ISPC_Api_Insecure=1 -``` -If you have installed ISPConfig on a different port, then alter the 8080 accordingly. -Leaver ISPC_Api_Insecure set to 1 if you have not a valid ssl cert for your installation. Change it to 0 if you have a valid ssl cert. - -To issue a cert: -``` -acme.sh --issue --dns dns_ispconfig -d example.com -d www.example.com +export Ali_Key="sdfsdfsdfljlbjkljlkjsdfoiwje" +export Ali_Secret="jlsdflanljkljlfdsaklkjflsa" ``` -The `ISPC_User`, `ISPC_Password`, `ISPC_Api`and `ISPC_Api_Insecure` will be saved in `~/.acme.sh/account.conf` and will be reused when needed. +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. # 12. Use custom API