mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-11-10 08:21:49 +00:00
31 lines
772 B
Markdown
31 lines
772 B
Markdown
# Using deploy api
|
|
|
|
Here are the scripts to deploy the certs/key to the server/services.
|
|
|
|
## 1. Deploy the certs to your cpanel host.
|
|
|
|
(cpanel deploy hook is not finished yet, this is just an example.)
|
|
|
|
Before you can deploy your cert, you must [issue the cert first](https://github.com/Neilpang/acme.sh/wiki/How-to-issue-a-cert).
|
|
|
|
Then you can deploy now:
|
|
|
|
```sh
|
|
export DEPLOY_CPANEL_USER=myusername
|
|
export DEPLOY_CPANEL_PASSWORD=PASSWORD
|
|
acme.sh --deploy -d example.com --deploy --deploy-hook cpanel
|
|
```
|
|
|
|
## 2. Deploy ssl cert on kong proxy engine based on api.
|
|
|
|
Before you can deploy your cert, you must [issue the cert first](https://github.com/Neilpang/acme.sh/wiki/How-to-issue-a-cert).
|
|
|
|
(TODO)
|
|
|
|
## 3. Deploy the cert to remote server through SSH access.
|
|
|
|
(TODO)
|
|
|
|
|
|
|