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

feat: add support for SSL connections to database #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tomudding
Copy link
Member

Description

Setting the new environment variable MYSQL_SSL to True will ensure that any connection to the database server is secured. The path to the CA certificates is specific for Alpine (as that is used in the Dockerfile).

For local deployments or development, setting the environment variable to False allows normal unsecured connections.

NOTE: When deploying this to the GEWIS infrastructure, do not forget to update the hostname of the server as well.

Related issues/external references

As required by the CBC, see their e-mail from 2024-11-25.

Types of changes

  • New feature (non-breaking change which adds functionality)

Setting the new environment variable `MYSQL_SSL` to `True` will ensure that any
connection to the database server is secured. The path to the CA certificates is
specific for Alpine (as that is used in the Dockerfile).

For local deployments or development, setting the environment variable to
`False` allows normal unsecured connections.
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.

1 participant