playsonmac
Explore posts from serversDTDrizzle Team
•Created by playsonmac on 11/7/2024 in #help
Supabase SSL - ENAMETOOLONG when adding sslrootcert to dbCredentials url
I'm trying to connect to my supabase with ssl-enabled using drizzle-kit but I keep on getting ENAMETOOLONG.
I'm encoding the certificate into the connection url, but it seems like I'm reaching the limits of path length.
My code is literally the same as was posted by budivoogt:
https://github.com/orgs/supabase/discussions/18710#discussioncomment-10614735
"I got this working with Drizzle as follows:"
Ideally, I'd like to be able to have the certificate as an env (yeah, tired that, still the same length issue) so that a cloudflare worker which doesn't have acccess to the fs can connect.
Any ideas on how to go around this?
1 replies