From 15d659df7ab433462c3e0c921ae6d3df6ef3d1d3 Mon Sep 17 00:00:00 2001 From: adjager1 <45431578+adjager1@users.noreply.github.com> Date: Tue, 27 Oct 2020 09:08:31 +0100 Subject: [PATCH] mention --insecure in combination with "localhost" only --- Synology-NAS-Guide.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Synology-NAS-Guide.md b/Synology-NAS-Guide.md index 76d9669..db1daa8 100644 --- a/Synology-NAS-Guide.md +++ b/Synology-NAS-Guide.md @@ -69,13 +69,14 @@ To fix this, simply follow the steps described at the [Synology DSM deployhook]( export SYNO_DID='YOUR VALUE' ``` -When we want to use https to deploy the new certificate, we need to add the --insecure option to the deploy command to prevent curl errors. refer to [https://github.com/acmesh-official/acme.sh/wiki/Options-and-Params] +When we want to use https to deploy the new certificate and connect to "localhost", we need to add the --insecure option to the deploy command to prevent curl errors. refer to [https://github.com/acmesh-official/acme.sh/wiki/Options-and-Params]. If you enabled HTTP/2 you still receive a curl 16 error but the script succeeds. ```sh $ cd /usr/local/share/acme.sh # Single quotes prevents some escaping issues if your password or username contains certain special characters $ export SYNO_Username='Admin_Username' $ export SYNO_Password='Admin_Password!123' +# export SYNO_Hostname="localhost" # Specify if not using on localhost $ export SYNO_Scheme="https" $ export SYNO_Port="5001" # You must specify SYNO_Certificate, for the default certificate, we use an empty string