Skip to content

Supabase with SSL #2840

Closed Answered by simolus3
BananaMasterz asked this question in Q&A
Jan 16, 2024 · 2 comments · 5 replies
Discussion options

You must be logged in to vote

I haven't used Supabase before, but if the server is using a self-signed certificate you can't use SslMode.verifyFull by default. You could use SslMode.require, which requires SSL but accepts every certificate. IMO that provides no real security at all and I tried lobbying for an API in package:postgres that would allow only some self-signed certificates, but at the moment we only have these two options.

With isoos/postgresql-dart#280, you would be able to set a custom security context containing only the expected certificate.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
3 replies
@BananaMasterz
Comment options

@simolus3
Comment options

@BananaMasterz
Comment options

Answer selected by BananaMasterz
Comment options

You must be logged in to vote
2 replies
@simolus3
Comment options

@BananaMasterz
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants