IOSOR Learn
Webhook Ingress Mutual TLS and Client Certificate Rotation Gate
Decide which partner webhook routes require mutual TLS, how to rotate client certificates without breaking ingestion, and when a staged cutover beats a hard gate.
Lead Telecom & Routing Architect · Lausanne, CH
Require mutual TLS only on partner webhook routes where the partner can present a client certificate and commit to a rotation SLA; rotate via a dual-trust window, then hard-gate routes that cannot meet the SLA. This gate decides per route, not per account.
Map ingress routes and classify authentication posture
Start by inventorying every inbound webhook path that carries DLR receipts, delivery events, or JIT provisioning callbacks. For each route record the current authentication method: shared secret, HMAC signature, IP allowlist, or nothing.
Evaluate partner mTLS support and rotation SLA
For each candidate route, verify four things before requiring mutual TLS. First, does the partner actually issue a client certificate you can pin, or do they only accept server-side TLS? Second, what is their certificate lifetime and rotation notice period? A partner that rotates every 90 days with 30 days notice is workable; one that rotates on demand without notice will break ingestion.
Design the dual-trust rotation window
Rotation without ingestion gaps requires the ingress to trust both the old and new client certificate for a bounded window. Define the window length from the partner rotation SLA plus your own deployment latency, typically 24 to 72 hours. During the window, accept both certificates, log which one each request used, and alert if the old certificate still appears after the cutoff.
Gate staged cutover versus hard gate per route
A staged cutover fits routes where the partner supports certificate overlap, retries generously, and can confirm readiness in writing. A hard gate fits routes where the partner cannot overlap, where the route is high-risk, or where an unsigned fallback would create a ledger-posting path. For each route write the decision, the evidence, the cutoff date, and the rollback trigger.
Verify signatures, replay windows, and certificate authority changes
Mutual TLS authenticates the connection but does not prove the payload is fresh or unmodified. Pair the client-certificate gate with a signature and replay-window check so a replayed request from a trusted certificate is still rejected. When the partner changes certificate authority, the trust store update is a separate gate with its own overlap window.
Start with IOSOR
Run the partner-comparison checklist before you gate any route. List each webhook route, its current authentication, the partner mTLS support answer, the rotation SLA, and the overlap capability.
Related: PAYG hold before first debit · Wallet stop-lines before production.
IOSOR takeaway
Start by inventorying every inbound webhook path that carries DLR receipts, delivery events, or JIT provisioning callbacks. When the partner changes certificate authority, the trust store update is a separate gate with its own overlap window (/tools/brief · DLR / webhook).
Was this guide helpful?
Related guides
- Webhook Endpoint Health Probes and Failover Gate Verification
How to probe webhook endpoint health, set failover gates, and verify partner route readiness before committing SMS volume to a new channel.
- Webhook Retry Storm Control: Backoff and Jitter Policy Comparison
Compare retry backoff and jitter policies that stop synchronized webhook storms across partner routes while preserving DLR delivery SLAs and rate-limit headroom.
- Webhook Endpoint Failover: DNS Cutover Gates for Partner Route Comparison
Decide when to fail over webhook ingestion across regions or providers without losing events, duplicating debits, or breaking signature validation.












