// AI Platform Drift

Hyperdrive supports custom CA and mTLS over Workers VPC

Cloudflare developer changelog · published 2026-11-21 07:10 UTC
WORTH KNOWING VERIFY_ONLY APISECURITY
WHAT CHANGEDHyperdrive can now connect to private databases over Workers VPC using custom certificate authority (CA) certificates and client certificate authentication (mTLS). This covers PostgreSQL databases and Amazon RDS instances with private CA or RDS CA bundle certificates, and client certificates with RSA or EC P-256 keys. Certificates attach to the VPC Service, eliminating the previous requirement to route traffic through Cloudflare Access and Cloudflare Tunnel. Configuration requires Wrangler 4.164.0 or later, or Terraform provider 5.29.0 or later.
WHY IT MATTERSTeams connecting Hyperdrive to databases with custom certificates can remove the Access application, service token, and WebSocket handling previously required for this setup. The direct VPC connection simplifies the architecture and removes the Access layer from the database path.
WHAT TO DOIf you currently route Hyperdrive database traffic through Cloudflare Access and Tunnel to handle custom certificates, evaluate migrating to the VPC Service attachment method using the wrangler cert upload and wrangler vpc service create commands shown in the changelog.
Model-reported confidence 85% (not measured accuracy) Primary source ↗ written by anthropic/claude-sonnet-4.5
Show the reasoning — raw diff, triage verdict, confidence
RAW DIFF
+## Hyperdrive - Custom CA and mTLS certificates for Hyperdrive over Workers VPC
+https://developers.cloudflare.com/changelog/post/2026-11-18-hyperdrive-vpc-custom-ca-mtls/
+Wed, 18 Nov 2026 00:00:00 GMT
+
+Hyperdrive can now connect to private databases over Workers VPC with a custom certificate authority (CA) and client certificate authentication (mutual TLS, or mTLS). This covers PostgreSQL databases and Amazon RDS instances that present certificates signed by a private CA or the RDS CA bundle, and client certificates with RSA or EC P-256 keys.
+Previously, a database that required a custom CA or a client certificate meant routing database traffic over WebSockets through Cloudflare Access and Cloudflare Tunnel. That approach added an Access application, a service token, and WebSocket handling to maintain.
+Hyperdrive now connects directly to the database over Workers VPC, without Access.
+Attach the certificates to the VPC Service, then create a Hyperdrive configuration from that service:
+# Upload the private CA and the client certificate
+npx wrangler cert upload certificate-authority --ca-cert ./db-ca.pem --name db-ca
+npx wrangler cert upload mtls-certificate --cert ./client.pem --key ./client-key.pem --name db-client
+
+# Attach the certificates to the VPC Service for your database
+npx wrangler vpc service create my-postgres-db \
+--type tcp \
+--tcp-port 5432 \
+--app-protocol postgresql \
+--hostname <YOUR_DATABASE_HOSTNAME> \
+--tunnel-id <YOUR_TUNNEL_ID> \
+--certificate-authority <CA_CERTIFICATE_ID> \
+--client-certificate <CLIENT_CERTIFICATE_ID> \
+--cert-verification-mode verify_full
+
+# Create the Hyperdrive configuration from the VPC Service
+npx wrangler hyperdrive create <YOUR_CONFIG_NAME> \
+--service-id <YOUR_VPC_SERVICE_ID> \
+--database <DATABASE_NAME> \
+--user <DATABASE_USER> \
+--password <DATABASE_PASSWORD> \
+--scheme postgresql
+You can use a custom CA, a client certificate, or both. Configure VPC Services with Wrangler 4.164.0 or later, the API, or Terraform provider 5.29.0 or later. Dashboard support for these settings is not yet available.
+For setup details and certificate rotation, refer to Connect Hyperdrive to a private database using Workers VPC and Custom CA and client certificates.
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
triage verdictMATERIAL at 0.92, needed 0.5
triage reasoningNew security and authentication capabilities for Hyperdrive enable direct database connections with mTLS and custom CA support, changing deployment patterns.
signalsnew capability added to existing service · authentication method expansion (mTLS support) · security feature (custom CA certificate support) · deployment workflow change (VPC Service attachment required) · tool version requirement specified (Wrangler 4.164.0+, Terraform 5.29.0+) · architectural simplification (removes Access/Tunnel requirement)
suppression—
triage modelanthropic/claude-haiku-4.5 ($0.00000)
writer modelanthropic/claude-sonnet-4.5 ($0.00000)