gcore_cdn_deploy

This commit is contained in:
temoffey
2019-03-20 03:03:10 +03:00
parent 02882fb327
commit 228c835466
2 changed files with 145 additions and 0 deletions

View File

@@ -391,3 +391,18 @@ acme.sh --deploy --deploy-hook mydevil -d example.com
```
That will remove old certificate and install new one.
## 15. Deploy the cert to G-Core CDN servise
Deploy the cert to G-Core CDN servise (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.