This commit is contained in:
root 2023-11-07 01:51:48 +02:00
parent 63f7c41efa
commit 1bd911497f

View File

@ -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}" \