Skip to content

feat(renderer): relaxed-TLS fallback for cert-broken origins#192

Merged
us merged 1 commit into
mainfrom
feat/relaxed-tls
Jun 26, 2026
Merged

feat(renderer): relaxed-TLS fallback for cert-broken origins#192
us merged 1 commit into
mainfrom
feat/relaxed-tls

Conversation

@us

@us us commented Jun 26, 2026

Copy link
Copy Markdown
Owner

Retry a TLS-cert-verification failure ONCE with verification disabled (gated by CRW_HTTP_TLS_RELAXED_FALLBACK, cert-errors only, tls_unverified). Recovers long-tail sites with broken/expired certs. SSRF unaffected. Measured: 427 prev-502 customer URLs -> 186 recovered.

A fetch that fails TLS certificate verification now retries ONCE with
verification disabled (gated by CRW_HTTP_TLS_RELAXED_FALLBACK, cert-errors
only, logged as tls_unverified). Recovers small / long-tail sites whose certs
are misconfigured or expired but whose content is perfectly fetchable; every
other failure mode keeps strict verification. SSRF protection is unaffected
(it runs on the resolved URL, not the TLS layer). Measured: 427 previously-502
customer URLs -> 186 recovered.
@us us merged commit 13d39f6 into main Jun 26, 2026
@us us deleted the feat/relaxed-tls branch June 26, 2026 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant