htrace.sh is a shell-based “Swiss Army knife” for HTTP/HTTPS troubleshooting that wraps a variety of network and security tools into a single, convenient command. It helps engineers inspect endpoints by collecting connection details, TLS certificate info, and server headers while optionally driving tests from third-party analyzers. The script emphasizes operability: you can run quick checks against URLs to reveal redirects, protocol negotiation, and response timing without assembling a pile of one-off commands. It supports profiling scenarios useful during incidents, such as confirming cipher support, verifying chain validity, or flagging misconfigurations. Since it’s just a script, it runs on typical Linux servers where installing a heavy GUI isn’t feasible. The goal is to reduce the friction between “I wonder what this endpoint is doing” and a readable, actionable report.
Features
- One-shot endpoint checks that summarize HTTP and TLS characteristics
- Wraps common utilities and scanners under a unified interface
- Shows redirects, headers, timing, and protocol negotiation details
- Certificate chain and cipher-suite inspection for quick SSL sanity checks
- Useful in headless servers where GUI tooling is unavailable
- Example-driven usage with options for profiling and reporting