© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•7mo ago
imthelord

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 file

The error persists for every new project. This is blocking all development.

## Steps to reproduce

1. Create a new Supabase project
2. Copy the Postgres connection string
3. Use it in a Node.js backend (Drizzle ORM, Neon driver, or any Postgres client)
4. Attempt to connect
5. Observe the
certificate has expired
certificate has expired
error

## Expected behavior

The 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!
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

certificate issue with database branching and ssl
SupabaseSSupabase / help-and-questions
8mo ago
Shared Pooler certificate expired?
SupabaseSSupabase / help-and-questions
4mo ago
How to require SSL Cert to connect to DB?
SupabaseSSupabase / help-and-questions
4mo ago
Cannot start new project.
SupabaseSSupabase / help-and-questions
6mo ago