5ll
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
19 additions and
0 deletions
-
dnsapi/README.md
|
|
@ -1300,3 +1300,22 @@ See: https://github.com/Neilpang/acme.sh/wiki/DNS-API-Dev-Guide |
|
|
|
# Use lexicon DNS API |
|
|
|
|
|
|
|
https://github.com/Neilpang/acme.sh/wiki/How-to-use-lexicon-dns-api |
|
|
|
|
|
|
|
|
|
|
|
## Use Core-Networks API to automatically issue cert |
|
|
|
|
|
|
|
First you need to login to your Core-Networks account to to set up an API-User. |
|
|
|
Then export username and password to use these credentials. |
|
|
|
|
|
|
|
``` |
|
|
|
export CN_User="user" |
|
|
|
export CN_Password="passowrd" |
|
|
|
``` |
|
|
|
|
|
|
|
Ok, let's issue a cert now: |
|
|
|
``` |
|
|
|
acme.sh --issue --dns dns_cn -d example.com -d www.example.com |
|
|
|
``` |
|
|
|
|
|
|
|
The `CN_User` and `CN_Password` will be saved in `~/.acme.sh/account.conf` and will be reused when needed. |
|
|
|
|