Browse Source

Merge branch 'master' of https://github.com/baiyangliu/acme.sh

# Conflicts:
#	dnsapi/README.md
pull/410/head
lc 9 years ago
parent
commit
a54bccb90a
  1. 21
      dnsapi/README.md

21
dnsapi/README.md

@ -201,7 +201,24 @@ 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 custom API
## 11. 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.
# 12. Use custom API
If your API is not supported yet, you can write your own DNS API.
@ -218,6 +235,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)
## 12. Use lexicon DNS API
## 13. Use lexicon DNS API
https://github.com/Neilpang/acme.sh/wiki/How-to-use-lexicon-dns-api
Loading…
Cancel
Save