acme.sh/deploy
Brian Hartvigsen 74a4a788b1
Make certificate descriptions sed safe
This escapes special characters used in POSIX sed to prevent mismatches.
e.g. `SYNO_Certficiate=*.example.com` would not match a description of
"*.example.com" and would look to match any number of double quotes (the
last character in the sed regex prior to certificate description),
followed by any single character, followed by "example", followed by any
character, followed by "com".

After this change, it will properly match `*.example.com` and not
`""zexamplefcom`.

Additionally we now store the certificate description as base64 encoded
to prevent issues with single quotes.

Tested on DSM 7.0-41222 (VDSM) and DSM 6.2.4-25556 (DS1515+).
2021-05-26 15:25:58 -06:00
..
apache.sh deploy apache script: fix comment (dovecot/apache) 2017-03-02 08:39:31 +01:00
cleverreach.sh Make CI happy 2021-03-30 09:18:33 +02: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 deploy gcore_cdn fix syntax 2021-01-10 12:44:56 +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 Make certificate descriptions sed safe 2021-05-26 15:25:58 -06:00
unifi.sh Fix: Unifi deploy hook support Unifi Cloud Key (#3327) 2021-02-15 15:01:21 +08:00
vault_cli.sh Use 'vault kv put' instead of 'vault write' 2021-03-29 15:10:14 +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