pdoroff d4868f97e5 Provides basic weechat deploy hook
This hook providers basic weechat deploy support.  The environment
variables WEECHAT_PEM and WEECHAT_HOME are respected, and otherwise
default to ~/.weechat/ssl/relay.pem and ~/.weechat/ respectively unless
set.

Upon a successful deployment, this script then attempts to issue a
'/relay sslcertkey' to weechat using the fifo plugin when configured
and available.  See script headers for more information.
2017-02-20 01:50:00 -06:00
..
2017-02-19 20:40:53 +08:00
2017-02-11 13:24:00 +08:00
2017-02-19 20:40:53 +08:00
2017-02-19 20:40:53 +08:00
2017-02-19 20:40:53 +08:00
exe
2017-02-05 23:14:25 +08:00
exe
2017-02-05 23:14:25 +08:00
2017-02-19 20:40:53 +08:00
2017-02-19 20:40:53 +08:00
2017-02-19 20:40:53 +08:00
2017-02-19 20:40:53 +08:00
2017-02-11 13:24:00 +08:00
2017-02-19 20:40:53 +08:00
2017-02-20 01:50:00 -06:00

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.

Then you can deploy now:

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.

(TODO)

3. Deploy the cert to remote server through SSH access.

(TODO)