acme.sh/deploy
neil b28835a604
Update haproxy deploy hook (#1591)
* implement basic haproxy deploy

HAProxy requires the certificate chain and key to be concatenated and placed somewhere (can be anywhere). This script expects a single environment variable with the path where the concatenated PEM file should be written

* add docs for HAProxy deployment

* Add conditional check to ensure path is provided

* remove whitespace

* remove more whitespace (trying to get TravisCI working)

* add reload

* update for POSIX compliance

* add documentation for reload command

* Update haproxy deploy hook

Add functionality to add OCSP stapling info (.ocsp file), issuer (.issuer file) and multi-cert bundles (suffix on pem file based on key type).

This also corrects the order of key, certificate and intermediate in the PEM file, which although HAProxy does not seem to care, was incorrect in the prior version.

* Document updated haproxy deploy hook

* Fix variable name

* whitespace fixes

* Support HAPROXY_DEPLOY_PEM_PATH

Adds compatibility to original haproxy deploy hook while still allowing custom PEM file name (via HAPROXY_DEPLOY_PEM_NAME)

* update for new haproxy deploy vars

* Fix return from reload

* Fix Le_Keylength case

* Update cert suffix for bundles .ocsp generation

* Whitepspace

* Change default for reload

* Readme update

* Actually set reload default

* Fix README.md confict
2019-05-01 15:13:42 +08:00
..
README.md Fix README.md confict 2019-04-30 15:32:36 +08:00
apache.sh deploy apache script: fix comment (dovecot/apache) 2017-03-02 08:39:31 +01:00
cpanel_uapi.sh fix warning 2018-06-28 22:21:22 +08:00
dovecot.sh fix format 2017-02-19 20:40:53 +08:00
exim4.sh spelling: oops 2017-03-26 05:29:11 +00:00
fritzbox.sh use perl instead of iconv, if iconv is not available 2018-09-10 01:24:20 +02:00
gcore_cdn.sh fixed line breaks for support api gcore_cdn (#2237) 2019-05-01 15:11:39 +08:00
gitlab.sh Fix Syntax 2018-08-21 16:41:45 +02:00
haproxy.sh Actually set reload default 2018-09-28 08:57:13 +08:00
keychain.sh Remove template text 2018-03-22 13:45:43 -04:00
kong.sh Update the notes 2017-04-28 00:25:30 +08:00
mailcow.sh Fix formatting 2019-03-19 19:15:31 +01:00
myapi.sh exe 2017-02-05 23:14:25 +08:00
mydevil.sh Support for MyDevil.net (#2076) 2019-02-20 09:40:36 +08:00
mysqld.sh fix format 2017-02-19 20:40:53 +08:00
nginx.sh fix format 2017-02-19 20:40:53 +08:00
opensshd.sh fix format 2017-02-19 20:40:53 +08:00
pureftpd.sh fix format 2017-02-19 20:40:53 +08:00
qiniu.sh fix deploy/qiniu.sh base64 2019-02-28 23:43:58 +08:00
routeros.sh Merge remote-tracking branch 'origin/dev' into dev 2019-03-21 15:54:02 +01:00
ssh.sh Fix key leakage in SSH deploy log 2018-08-02 20:57:27 +08:00
strongswan.sh Add support for strongSwan deploys in FreeBSD 2018-02-16 11:29:10 -02:00
unifi.sh Add deployment script for unifi controller 2017-07-30 12:21:20 +01:00
vault_cli.sh Write certs in Vault for Fabio load balancer 2018-12-10 16:55:21 +03:00
vsftpd.sh spelling: oops 2017-03-26 05:29:11 +00:00

README.md

Using deploy api

deploy hook usage:

https://github.com/Neilpang/acme.sh/wiki/deployhooks