|
@ -1279,6 +1279,26 @@ acme.sh --issue --dns dns_mydevil -d example.com -d *.example.com |
|
|
|
|
|
|
|
|
After certificate is ready, you can install it with [deploy command](../deploy/README.md#14-deploy-your-cert-on-mydevilnet). |
|
|
After certificate is ready, you can install it with [deploy command](../deploy/README.md#14-deploy-your-cert-on-mydevilnet). |
|
|
|
|
|
|
|
|
|
|
|
## 67. 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. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Use custom API |
|
|
# Use custom API |
|
|
|
|
|
|
|
|
If your API is not supported yet, you can write your own DNS API. |
|
|
If your API is not supported yet, you can write your own DNS API. |
|
@ -1302,20 +1322,3 @@ See: https://github.com/Neilpang/acme.sh/wiki/DNS-API-Dev-Guide |
|
|
https://github.com/Neilpang/acme.sh/wiki/How-to-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. |
|
|
|
|
|
|
|
|
|