Skip to content

Instantly share code, notes, and snippets.

@secdev02
Created December 10, 2025 13:23
Show Gist options
  • Select an option

  • Save secdev02/4d42319a47b273f6f17a6fe7e09a3384 to your computer and use it in GitHub Desktop.

Select an option

Save secdev02/4d42319a47b273f6f17a6fe7e09a3384 to your computer and use it in GitHub Desktop.
TLS Debug - Serverless Prototype - Woot!

Building a Serverless Reverse TLS PRoxy Experiment.

curl "https://www.tlsdebug.com/debug?site=example.com"

{
  "request": {
    "method": "GET",
    "url": "https://example.com/",
    "hostname": "example.com",
    "port": 443,
    "path": "/",
    "headers": {
      "User-agent": "TLSDebug/1.0"
    },
    "timestamp": "2025-12-10T13:22:14.815925Z"
  },
  "response": {
    "status_code": 200,
    "status_message": "OK",
    "headers": {
      "Accept-Ranges": "bytes",
      "Content-Type": "text/html",
      "ETag": "\"bc2473a18e003bdb249eba5ce893033f:1760028122.592274\"",
      "Last-Modified": "Thu, 09 Oct 2025 16:42:02 GMT",
      "Content-Length": "513",
      "Cache-Control": "max-age=86000",
      "Date": "Wed, 10 Dec 2025 13:22:15 GMT",
      "Connection": "close",
      "Alt-Svc": "h3=\":443\"; ma=93600"
    },
    "body_preview": "<!doctype html><html lang=\"en\"><head><title>Example Domain</title><meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"><style>body{background:#eee;width:60vw;margin:15vh auto;font-family:system-ui,sans-serif}h1{font-size:1.5em}div{opacity:0.8}a:link,a:visited{color:#348}</style><body><div><h1>Example Domain</h1><p>This domain is for use in documentation examples without needing permission. Avoid use in operations.<p><a href=\"https://iana.org/domains/example\">Learn more</a></div></body></html>\n",
    "body_size": 513,
    "truncated": false
  },
  "tls": {
    "protocol": "TLSv1.3",
    "cipher": "TLS_AES_256_GCM_SHA384",
    "bits": 256,
    "certificate": {
      "subject": {
        "countryName": "US",
        "stateOrProvinceName": "California",
        "localityName": "Los Angeles",
        "organizationName": "Internet Corporation for Assigned Names and Numbers",
        "commonName": "*.example.com"
      },
      "issuer": {
        "countryName": "US",
        "organizationName": "DigiCert Inc",
        "commonName": "DigiCert Global G3 TLS ECC SHA384 2020 CA1"
      },
      "version": 3,
      "serial_number": "0AD893BAFA68B0B7FB7A404F06ECAF9A",
      "not_before": "Jan 15 00:00:00 2025 GMT",
      "not_after": "Jan 15 23:59:59 2026 GMT",
      "san": [
        [
          "DNS",
          "*.example.com"
        ],
        [
          "DNS",
          "example.com"
        ]
      ]
    }
  },
  "success": true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment