diff --git a/scripts/setup_wizard.sh b/scripts/setup_wizard.sh index a7b92ef..e97da6e 100755 --- a/scripts/setup_wizard.sh +++ b/scripts/setup_wizard.sh @@ -118,7 +118,7 @@ echo "-----------------------------" # 1. Collect Inputs # Example: get_input "HOST_NAME" "Enter Hostname" "$(hostname)" "false" -get_input "CERT_DIR" "Enter directory for certificates" "${HOME}/.step/certs" "false" +get_input "CERT_DIR" "Enter directory for certificates" "$(step path)/certs" "false" get_input "CERT_LOCATION" "Enter specific path for cert" "${CERT_DIR}/${HOSTNAME}.crt" "false" get_input "KEY_LOCATION" "Enter specific path for private key" "${CERT_DIR}/${HOSTNAME}.key" "false"