Avoid creating a temp directory that starts with a digit, as it breaks several of the jq -r commands in reload-certs.sh. I discovered that by accident, and it took me quite some time ;)

bosr
2020-03-28 14:41:29 +01:00
parent 5caf244cc5
commit 114ac9ab88

@@ -58,7 +58,7 @@ Please note that this will replace your Synology NAS system default certificate
This requires the reload-certs.sh script.
$ cd /usr/syno/etc/certificate/_archive
$ export CERT_DIR="$(mktemp -d XXXXXX)"
$ export CERT_DIR="$(mktemp -d zXXXXX)"
$ export CERT_FOLDER="/usr/syno/etc/certificate/_archive/$CERT_DIR"
$ export CERT_DOMAIN="your-domain.tld"
$ export CERT_DNS="dns_cf"