changed default filenames

This commit is contained in:
John Lancaster
2025-12-29 22:48:55 -06:00
parent 83fd98a29b
commit d08c3c750e

View File

@@ -149,8 +149,8 @@ fi
# Example: # Example:
get_input "HOST_NAME" "Enter Hostname" "$(hostname)" "false" get_input "HOST_NAME" "Enter Hostname" "$(hostname)" "false"
get_input "CERT_DIR" "Enter directory for certificates" "/var/lib/ssl" "false" get_input "CERT_DIR" "Enter directory for certificates" "/var/lib/ssl" "false"
get_input "CERT_LOCATION" "Enter specific path for cert" "${CERT_DIR}/${HOSTNAME}.crt" "false" get_input "CERT_LOCATION" "Enter specific path for cert" "${CERT_DIR}/cert.pem" "false"
get_input "KEY_LOCATION" "Enter specific path for private key" "${CERT_DIR}/${HOSTNAME}.key" "false" get_input "KEY_LOCATION" "Enter specific path for private key" "${CERT_DIR}/key.pem" "false"
export CERT_LOCATION=$(readlink -f $CERT_LOCATION) export CERT_LOCATION=$(readlink -f $CERT_LOCATION)
export KEY_LOCATION=$(readlink -f $KEY_LOCATION) export KEY_LOCATION=$(readlink -f $KEY_LOCATION)