DenoDDeno
Powered by
GDream StudioG
Denoβ€’11mo agoβ€’
10 replies
GDream Studio

Using SSL with deno deploy and supabase postgres direct connection

Hello πŸ‘‹

I've been trying to setup an SSL connection with a supabase postgreSQL database using a direct connection. Unfortunaly it looks impossible to do it on Deno deploy. Am I right?

I've been trying my best to figure out a solution but it looks like I need to either use
--cert
--cert
or the environment variables
SSL_CERT_FILE
SSL_CERT_FILE
and
DENO_TLS_CA_STORE
DENO_TLS_CA_STORE
to make it work locally. However, on deno deploy, both options can't work:
--cert
--cert
isn't usable and
DENO_TLS_CA_STORE
DENO_TLS_CA_STORE
is forbidden 😒

Any idea? I hope I don't need to abandon deno deploy.

Thanks in advance!
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

API server with Postgres on Deno Deploy ConnectionParamsError
telestoπŸŒ›TtelestoπŸŒ› / help
14mo ago
Supabase-slash-PostgresSQL ConnectionRefused Connection refused (os error 111) on Deno Deploy
Bruno BernardinoBBruno Bernardino / help
4y ago
Sharp using deno deploy
.JPig 🐷..JPig 🐷 / help
2y ago
Postgres Deno Connection Pool Idle timeout
WingZer0oWWingZer0o / help
2y ago