mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-08 08:02:46 +00:00
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.
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)