letsencrypt.sh -> dehydrated

Daniel M. Capella
2017-12-28 03:02:06 +00:00
parent d7d20e404e
commit 70042881df

@@ -1,9 +1,9 @@
# Import existing certificates
If you want to import your existing certificates from the official letsencrypt client place this script next to `letsencrypt.sh` and run it.
If you want to import your existing certificates from the official letsencrypt client place this script next to `dehydrated` and run it.
You may want to check if `letsencrypt.sh` is working and all paths are set correctly.
By default it will copy the certificates to the `certs/` directory next to `letsencrypt.sh`.
You may want to check if `dehydrated` is working and all paths are set correctly.
By default it will copy the certificates to the `certs/` directory next to `dehydrated`.
## Code
@@ -20,7 +20,7 @@ SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
BASEDIR="${SCRIPTDIR}"
LETSENCRYPT="/etc/letsencrypt"
eval "$("${SCRIPTDIR}/letsencrypt.sh" --env)"
eval "$("${SCRIPTDIR}/dehydrated" --env)"
if [[ ! -e "${LETSENCRYPT}" ]]; then
echo "No existing letsencrypt files found."