mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-12-01 12:33:57 +01:00
letsencrypt.sh -> dehydrated
1 parent
d7d20e404e
commit
70042881df
1 file changed
+4
-4
@@ -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."
|
||||
|
||||
Reference in new issue
Block a user