diff --git a/docker/nginx/scripts/gen-self-signed-cert.sh b/docker/nginx/scripts/gen-self-signed-cert.sh index 78fd57d..7667943 100755 --- a/docker/nginx/scripts/gen-self-signed-cert.sh +++ b/docker/nginx/scripts/gen-self-signed-cert.sh @@ -26,7 +26,7 @@ echo "Creating self-signed certificate valid for ${DAYS_VALID} days for domain $ openssl \ req -x509 \ -nodes \ - -subj "/CN=${DOMAIN_NAME}}" \ + -subj "/CN=${DOMAIN_NAME}" \ -addext "subjectAltName=DNS:${DOMAIN_NAME}" \ -days ${DAYS_VALID} \ -newkey rsa:4096 -keyout "${KEY_FILE}" \