diff --git a/admin/src/generate_certificates.sh b/admin/src/generate_certificates.sh index 3e7a233..e2beded 100755 --- a/admin/src/generate_certificates.sh +++ b/admin/src/generate_certificates.sh @@ -1,4 +1,4 @@ -cd saml_certs +cd /admin/saml_certs C=CA L=Barcelona O=localdomain @@ -6,5 +6,5 @@ CN_CA=$O CN_HOST=*.$O OU=$O openssl req -nodes -new -x509 -keyout private.key -out public.cert -subj "/C=$C/L=$L/O=$O/CN=$CN_CA" -days 3650 -cd .. -echo "Now run the python nextcloud and wordpress scripts" \ No newline at end of file +cd /admin +echo "Now run the python nextcloud and wordpress scripts"