Support ssl and ssl_opts connection options by joshk · Pull Request #14 · supabase/libcluster_postgres (original) (raw)

What kind of change does this PR introduce?

This adds support for the ssl and ssl_opts Postgrex connection options.

What is the current behavior?

If a custom SSL cert is required then the connection will fail.

What is the new behavior?

Custom SSL certs can now be configured and used.

Additional context

Crunchy Bridge provides customers their own SSL PEM, and SSL is enforced with all db connections. This PR addresses issues with SSL details not being passed to Postgrex.