Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Jun 12, 2024

Conversation

jonatanklosko
Copy link
Member

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.

@jonatanklosko jonatanklosko changed the title Add field for custom CA certificates file Support SSL for Postgres/MySQL and accept a custom CA certificates file Jun 12, 2024
Copy link

@wojtekmach wojtekmach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing!

[cacerts: quote(do: :public_key.cacerts_get())]
end

[ssl: true, ssl_opts: ssl_opts]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gah, we should update TDS. @wojtekmach? :P

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yup, I'm happy to work on that!

@jonatanklosko jonatanklosko merged commit 8b2cdc4 into main Jun 12, 2024
1 check passed
@jonatanklosko jonatanklosko deleted the jk-ssl branch June 12, 2024 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants