Bug report
Describe the bug
There is no possibility to connect to DB using SSL connection (Providers like Vercel are not allowing to install custom CA certs in envs) with self-signed cert but lib only accepts connection string.
Error processing Stripe webhook: Error: self-signed certificate in certificate chain
at async i.upsertManyWithTimestampProtection (.next/server/app/api/webhook/stripe/route.js:20:875)
at async D.processEvent (.next/server/app/api/webhook/stripe/route.js:46:8459)
at async j (.next/server/app/api/webhook/stripe/route.js:15:1682)
at async (.next/server/chunks/7688.js:7:35620)
at async k (.next/server/app/api/webhook/stripe/route.js:16:7086) {
code: 'SELF_SIGNED_CERT_IN_CHAIN'
}
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
- Go to Supabase Dashboard
- Enable forced SSL connection
- Try to connect from stripe-sync-engine
- See error in logs when webhook is called by stripe
Expected behavior
Possibility to pass CA cert or if possible even using existing pg pool client from code.
Screenshots
System information
- OS: [e.g. macOS, Windows] N/A
- Browser (if applies) [e.g. chrome, safari] N/A
- Version of supabase-js: [e.g. 6.0.2] N/A
- Version of Node.js: [e.g. 10.10.0] 22
Additional context
N/A
Bug report
Describe the bug
There is no possibility to connect to DB using SSL connection (Providers like Vercel are not allowing to install custom CA certs in envs) with self-signed cert but lib only accepts connection string.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Expected behavior
Possibility to pass CA cert or if possible even using existing pg pool client from code.
Screenshots
System information
Additional context
N/A