#vercel#Supabase

SSL, Self-Signed Certificates

2/3/2026
1 min read
21 VIEWS

Error P1011: self-signed certificate in certificate chain

What was happening?

Vercel (Linux-based) is extremely strict about SSL.

Supabase’s connection pooler uses a certificate that Vercel doesn’t automatically trust.
So Vercel did the safest thing possible:

I don’t recognize this issuer. Connection denied.

The fix

I had to explicitly tell the PostgreSQL driver to trust the connection:

  • Set rejectUnauthorized: false in the pg pool config

  • Updated the connection string to use sslmode=no-verify

LOG_REF: cml6mni8u000204k0oyj785lh // UPDATED Wed Feb 04 2026