diff --git a/internal/api/config_handlers.go b/internal/api/config_handlers.go index 3ffe48447..4d3710a6e 100644 --- a/internal/api/config_handlers.go +++ b/internal/api/config_handlers.go @@ -1623,6 +1623,12 @@ else # Send registration to Pulse PULSE_URL="%s" + + # Ensure we're using HTTPS for security (warn if not) + if [[ ! "$PULSE_URL" =~ ^https:// ]]; then + echo "⚠️ WARNING: Not using HTTPS - token will be sent unencrypted!" + echo " Consider accessing Pulse via HTTPS for security." + fi # Use jq or manual escaping to properly construct JSON REGISTER_JSON=$(cat <