From 03bf3c2da14a3fe5345a78d70647b5d9b8254548 Mon Sep 17 00:00:00 2001 From: Neil Date: Wed, 3 Feb 2016 00:00:14 +0800 Subject: [PATCH] support dnspod.cn api --- README.md | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 42fb6743..ccff7feb 100644 --- a/README.md +++ b/README.md @@ -185,7 +185,28 @@ le.sh issue dns-cf aa.com www.aa.com The `CF_Key` and `CF_Email` will be saved in `~/.le/account.conf`, when next time you use cloudflare api, it will reuse this key. -More api integerations are coming. Godaddy, Dnspod, etc.... +More api integerations are coming. Godaddy, etc.... + +# Use Dnspod.cn domain api to automatically issue cert + +For now, we support dnspod.cn integeration. + +First you need to login to your dnspod.cn account to get your api key and key id. + +``` +export DP_Id="1234" + +export DP_Key="sADDsdasdgdsf" + +``` + +Ok, let's issue cert now: +``` +le.sh issue dns-dp aa.com www.aa.com +``` + +The `DP_Id` and `DP_Key` will be saved in `~/.le/account.conf`, when next time you use dnspod.cn api, it will reuse this key. + # Use custom api