Skip to content

Conversation

@jjmerchante
Copy link
Contributor

This PR adds SSL support for Redis connections in SortingHat. It allows configuring secure connections using environment variables.

New environment variables:

  • SORTINGHAT_REDIS_SSL: enables or disables SSL (yes/no)
  • SORTINGHAT_REDIS_SSL_CERT_REQS: certificate verification (none/required)
  • SORTINGHAT_REDIS_SSL_CA_CERTS: path to the root CA certificates
  • SORTINGHAT_REDIS_SSL_CERTFILE: path to the client certificate file
  • SORTINGHAT_REDIS_SSL_KEYFILE: path to the private key file

SSL/TLS is supported by Valkey and Redis as an optional feature that needs to be enabled at compile time.

To test this PR, bitnami/valkey:latest image can be used. To configure it you can follow the documentation: https://github.com/bitnami/containers/tree/main/bitnami/valkey#securing-valkey-traffic

Fixes #985

This commit adds SSL support for Redis connections in SortingHat.
It allows configuring secure connections using environment
variables that define SSL behavior and certificate files.

New environment variables:

- SORTINGHAT_REDIS_SSL: enables or disables SSL (yes/no)
- SORTINGHAT_REDIS_SSL_CERT_REQS: certificate verification (none/required)
- SORTINGHAT_REDIS_SSL_CA_CERTS: path to the root CA certificates
- SORTINGHAT_REDIS_SSL_CERTFILE: path to the client certificate file
- SORTINGHAT_REDIS_SSL_KEYFILE: path to the private key file

Signed-off-by: Jose Javier Merchante <[email protected]>
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.

Redis SSL/TLS support

1 participant