Add Deploy the cert to G-Core CDN service

master
Тимур Яхин 2019-03-20 18:13:28 +03:00
parent 925e6f947e
commit 0cf5413044
1 changed files with 15 additions and 0 deletions

@ -411,3 +411,18 @@ $ export DEPLOY_MAILCOW_PATH="/path/to/mailcow"
$ export DEPLOY_MAILCOW_RELOAD="docker-compose restart"
$ acme.sh --deploy -d example.com --deploy-hook mailcow
```
## 16. Deploy the cert to G-Core CDN service
Deploy the cert to G-Core CDN service (https://gcorelabs.com/ru/) using the G-Core Labs API (https://docs.gcorelabs.com/cdn/).
Uses command line curl for send requests and jq for parse responses.
Then you can deploy now:
```sh
export DEPLOY_GCORE_CDN_USERNAME=myusername
export DEPLOY_GCORE_CDN_PASSWORD=mypassword
acme.sh --deploy -d example.com --deploy-hook gcore_cdn
```
Please note, need installed jq.