Commit d954d09f authored by Vitaly Lipatov's avatar Vitaly Lipatov

fix cert scripts

parent bdbe1dd3
......@@ -21,7 +21,9 @@ copy_to_nginx()
echo "Copying $1 cert..."
CERT=$1
if [ -r "$INTERMEDCERT" ] ; then
cat "$CERT" "$INTERMEDCERT" >tempcert.crt || fatal
cat "$CERT" >tempcert.crt || fatal
echo >>tempcert.crt || fatal
cat "$INTERMEDCERT" >>tempcert.crt || fatal
CERT=tempcert.crt
fi
......
......@@ -8,7 +8,7 @@
cd sites
#copy_to_nginx eterfund.pem gitlab.eterfund.ru.crt devel
copy_to_nginx eterfund.pem gitlab.eterfund.ru.crt devel
#copy_to_nginx search.office.etersoft.ru.crt priv
#copy_to_nginx stog.etersoft.ru.crt stog
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment