Merge 0c7faa061264b64680577014850e61eea59d902c into afdd02a80dcfee3c43cffc84e7e6dfd6b4cf9a8c

This commit is contained in:
Santeri 2017-09-03 09:19:11 +00:00 committed by GitHub
commit 7893d45f8f

View File

@ -6,17 +6,13 @@ Here are the scripts to deploy the certs/key to the server/services.
## 1. Deploy the certs to your cpanel host. ## 1. Deploy the certs to your cpanel host.
(cpanel deploy hook is not finished yet, this is just an example.) This hook is using UAPI and works in cPanel & WHM version 56 or newer.
Then you can deploy now:
```sh ```sh
export DEPLOY_CPANEL_USER=myusername export DEPLOY_CPANEL_USER=cpanel_username
export DEPLOY_CPANEL_PASSWORD=PASSWORD acme.sh --deploy -d example.com --deploy-hook cpanel_uapi
acme.sh --deploy -d example.com --deploy-hook cpanel
``` ```
DEPLOY_CPANEL_USER is required only if you run the script as root and it should contain cpanel username.
## 2. Deploy ssl cert on kong proxy engine based on api. ## 2. Deploy ssl cert on kong proxy engine based on api.