livebook-dev / kino_db

Database integrations for Livebook
Apache License 2.0
40 stars 16 forks source link

Support SSL for Postgres/MySQL and accept a custom CA certificates file #73

Closed jonatanklosko closed 5 months ago

jonatanklosko commented 5 months ago

Cloud providers may require a custom CA certificates file for SSL to work. When the SSL switch is toggled, we now show an additional field for CA certificates:

image

When left empty, we use he OS defaults via :public_key.cacerts_get().

Sidnote: even though we had code to add SSL options for Postgres and MySQL, there was no switch in the UI, so effectively it was only supported for SQLServer.