Database SSL certificate expired for new project - cannot connect (CERT_HAS_EXPIRED)

Bug description


I created a new Supabase project and tried to connect to the database using the provided connection string. My backend (Node.js, Drizzle ORM, Neon driver) fails to connect with the following error:
Error: certificate has expired
url: 'wss://db.kyhlncejnirklafcugry.supabase.co/v2'
code: 'CERT_HAS_EXPIRED'.
I have tried:
  • Resetting the database password
  • Creating multiple new projects
  • Using the latest connection string in my .env fileThe error persists for every new project. This is blocking all development.## Steps to reproduce
  • Create a new Supabase project
  • Copy the Postgres connection string
  • Use it in a Node.js backend (Drizzle ORM, Neon driver, or any Postgres client)
  • Attempt to connect
  • Observe the `certificate has expired` error## Expected behaviorThe database should accept SSL connections with a valid certificate.## Additional context
  • Region: [your region, e.g. ap-south-1]
  • Project ref: [your project ref, e.g. kyhlncejnirklafcugry]
  • This happens even with brand new projects.Please help resolve this as soon as possible!
Was this page helpful?