Building Privacy-First DevOps Tools in Next.js: SSL Chain, Headers, WHOIS & Cron Without Target Logging
When you check an SSL certificate, inspect HTTP security headers, or look up a newly registered domain on a free web utility, have you ever wondered what happens to the domain name you just typed in? Many "free" online
When you check an SSL certificate, inspect HTTP security headers, or look up a newly registered domain on a free web utility, have you ever wondered what happens to the domain name you just typed in?
Many "free" online checkers silently log checked domains, set third-party ad cookies, or sell fresh domain queries to brokers. While building Devhook Pulse (our EU-hosted multi-region uptime monitoring platform), we decided to build a suite of browser-accessible utilities with one strict constraint: zero cookies and zero analytics storage of visitor IPs or checked targets.
Here is a look under the hood at how we engineered themβand links if you want to try them out.
The 4 Utilities (Available in EN, IT, DE, FR, ES)
All four tools are free, require no sign-up, and work directly from the browser:
-
SSL Certificate Checker β Opens a direct TLS handshake to inspect protocol version (
TLS 1.2/1.3), cipher suite, Subject Alternative Names (SANs), SHA-256 fingerprint, expiration countdown, and full chain of trust validation (catching missing intermediate certificates before browsers break). -
HTTP Security Headers Check β Audits
Content-Security-Policy,Strict-Transport-Security(HSTS),X-Frame-Options,Referrer-Policy, andPermissions-Policywith concrete hardening recommendations. - Domain WHOIS & Expiry Lookup (RDAP) β Queries modern RDAP endpoints to retrieve registrar info, registration/expiration dates, status flags, and authoritative nameservers.
- Cron Expression Tester & Next Run Times β Runs 100% client-side in your browser to validate cron syntax and preview the next five execution timestamps in both UTC and your local browser timezone.
Engineering Decisions & Security Guardrails
Exposing an endpoint that accepts arbitrary hostnames from the internet is an open invitation for SSRF (Server-Side Request Forgery) and abuse. Here are the guardrails we put in place:
1. Strict DNS & SSRF Guard Before Opening Any Socket
Before touching node:tls or fetch, every target hostname passes through a custom network guard (net-guard) that:
- Rejects raw private, loopback, link-local, multicast, and reserved IPv4/IPv6 CIDR ranges.
- Resolves DNS records first and validates every resolved IP address (preventing DNS rebinding tricks where a public domain resolves to
127.0.0.1or169.254.169.254). - Enforces hard socket timeouts, maximum redirect hops, and response body caps.
2. Reading the TLS Handshake Cleanly
When inspecting a certificate chain with Node's tls.connect(), reading socket.getPeerCertificate(true) and socket.getCipher() must happen during the secureConnect callback before tearing down the socketβonce destroyed, Node clears the underlying OpenSSL handle and returns null for cipher and protocol metadata.
3. Privacy-Safe Telemetry & Ephemeral Rate Limiting
-
Analytics: Daily counters only increment anonymous aggregate integers (
completed,invalid,rate_limited,error) per tool and locale. Neither the target URL nor the caller's IP address is ever written to the database or application logs (even unhandled engine errors strip the error message before logging stack frames so a checked domain never leaks into stdout). - Rate Limiting: Transient per-IP rate limiting (10 requests/minute) runs purely in short-lived Redis memory with automatic TTL expiration.
Try Them Out
If you are debugging a broken intermediate certificate, tuning a CSP header, or double-checking a crontab before deploying, give the suite a spin here:
π https://pulse.dev-pulse.it/en/tools
Feedback on edge cases (especially unusual TLS chains, IDN domains, or non-standard cron dialects) is very welcome in the comments!
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes β full credit and traffic to the original publisher.