acme.sh/deploy
Mike Edmunds 06fb3d9476 Fix: Unifi deploy hook support Unifi Cloud Key (#3327)
* fix: unifi deploy hook also update Cloud Key nginx certs

When running on a Unifi Cloud Key device, also deploy to
/etc/ssl/private/cloudkey.{crt,key} and reload nginx. This
makes the new cert available for the Cloud Key management
app running via nginx on port 443 (as well as the port 8443
Unifi Controller app the deploy hook already supported).

Fixes #3326

* Improve settings documentation comments

* Improve Cloud Key pre-flight error messaging

* Fix typo

* Add support for UnifiOS (Cloud Key Gen2)

Since UnifiOS does not use the Java keystore (like a Unifi
Controller or Cloud Key Gen1 deploy), this also reworks
the settings validation and error messaging somewhat.

* PR review fixes

* Detect unsupported Cloud Key java keystore location

* Don't try to restart inactive services

(and remove extra spaces from reload command)

* Clean up error messages and internal variables

* Change to _getdeployconf/_savedeployconf

* Switch from cp to cat to preserve file permissions
2021-03-21 16:20:32 +01:00
..
apache.sh deploy apache script: fix comment (dovecot/apache) 2017-03-02 08:39:31 +01:00
cleverreach.sh Rework based on review from Neilpang 2020-10-28 13:50:40 +01:00
cpanel_uapi.sh fix warning 2018-06-28 22:21:22 +08:00
docker.sh fix https://github.com/acmesh-official/acme.sh/issues/3300 2020-12-10 20:22:14 +08:00
dovecot.sh fix format 2017-02-19 20:40:53 +08:00
exim4.sh fix shfmt 2020-08-17 22:18:20 +08:00
fritzbox.sh uconv as fallback for iconv 2020-11-28 15:22:14 +01:00
gcore_cdn.sh fixed json parse regex for support api gcore_cdn 2019-10-10 00:36:34 +03:00
gitlab.sh Fix Syntax 2018-08-21 16:41:45 +02:00
haproxy.sh fix haproxy deploy hook ocsp update 2020-05-02 22:14:21 +02:00
keychain.sh Remove template text 2018-03-22 13:45:43 -04:00
kong.sh Issue #2850 : grammar corrections for "exists" and "exist". 2020-06-29 11:29:10 -07:00
mailcow.sh fix 2020-12-07 22:01:30 +08: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
openstack.sh Fix CI test failure for deploy/openstack.sh 2020-07-16 13:53:21 +10:00
panos.sh fix(deploy/panos): data format improvements 2020-03-24 20:01:51 -07:00
peplink.sh Add Peplink deploy hook 2021-01-13 20:37:05 +00:00
pureftpd.sh fix format 2017-02-19 20:40:53 +08:00
qiniu.sh enable qiniu to deploy more than one domain 2020-03-26 14:59:23 +08:00
README.md update repo name 2020-01-30 12:06:39 +08:00
routeros.sh Added trailing slash to end of each line of DEPLOY_SCRIPT_CMD 2019-11-26 20:39:08 +11:00
ssh.sh fix shfmt 2020-08-17 22:18:20 +08:00
strongswan.sh Add support for strongSwan deploys in FreeBSD 2018-02-16 11:29:10 -02:00
synology_dsm.sh Shellcheck linting 2020-12-09 21:01:44 -07:00
unifi.sh Fix: Unifi deploy hook support Unifi Cloud Key (#3327) 2021-03-21 16:20:32 +01:00
vault_cli.sh Fix SC2230 2020-07-16 06:13:15 +02:00
vault.sh Use _savedeployconf 2020-11-02 16:46:09 +03:00
vsftpd.sh fix shfmt 2020-08-17 22:18:20 +08:00