line break

This commit is contained in:
John Lancaster
2025-12-29 23:52:51 -06:00
parent f3bd116e91
commit 4123ac3c00

View File

@@ -160,7 +160,8 @@ confirm_inputs "CERT_LOCATION" "KEY_LOCATION"
if [ ! -f "$CERT_LOCATION" ] || [ ! -f "$KEY_LOCATION" ]; then if [ ! -f "$CERT_LOCATION" ] || [ ! -f "$KEY_LOCATION" ]; then
(umask 077; mkdir -p "${CERT_DIR}") (umask 077; mkdir -p "${CERT_DIR}")
step ca root "${CERT_DIR}/root_ca.crt" step ca root "${CERT_DIR}/root_ca.crt"
hostname=$(hostname -s) step ca certificate "$hostname" \ hostname=$(hostname -s)
step ca certificate "$hostname" \
"${CERT_DIR}/cert.pem" "${CERT_DIR}/key.pem" \ "${CERT_DIR}/cert.pem" "${CERT_DIR}/key.pem" \
--san "$hostname" \ --san "$hostname" \
--san "$hostname.john-stream.com" \ --san "$hostname.john-stream.com" \