Skip to content

Conversation

@hileef
Copy link
Contributor

@hileef hileef commented Sep 9, 2025

Description

Allow enabling TLS on the connection to redis cache without specifying a client-side certificate & key pair.
This should fix #550 , but requires specifying enable_tls: true in the configuration.

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

Checklist

  • Linter passes correctly
  • Add tests which fail without the change (if possible)
  • All tests passing
  • Extended the README / documentation, if necessary

Does this introduce a breaking change?

  • Yes
  • No

@render render bot temporarily deployed to feat/cache/redis/support-conn-tls-public-server-only - chproxy PR #556 September 9, 2025 16:50 Destroyed
@hileef hileef force-pushed the feat/cache/redis/support-conn-tls-public-server-only branch from 417179e to 7a8a4d9 Compare September 9, 2025 16:50
@snyk-io
Copy link

snyk-io bot commented Sep 9, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

license/snyk check is complete. No issues have been found. (View Details)

code/snyk check is complete. No issues have been found. (View Details)

@snyk-io
Copy link

snyk-io bot commented Sep 9, 2025

🎉 Snyk checks have passed. No issues have been found so far.

code/snyk check is complete. No issues have been found. (View Details)

@hileef hileef force-pushed the feat/cache/redis/support-conn-tls-public-server-only branch from 7a8a4d9 to 85c7f94 Compare September 9, 2025 16:54
@render render bot temporarily deployed to feat/cache/redis/support-conn-tls-public-server-only - chproxy PR #556 September 9, 2025 16:54 Destroyed
@hileef hileef marked this pull request as ready for review September 9, 2025 16:55
Copy link
Member

@Scartiloffista Scartiloffista left a comment

Choose a reason for hiding this comment

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

great!


if len(cfg.CertFile) != 0 || len(cfg.KeyFile) != 0 {
// maintain backwards compatibility in case of non-presence of enable_tls
if len(cfg.CertFile) != 0 || len(cfg.KeyFile) != 0 || cfg.EnableTLS {
Copy link
Collaborator

Choose a reason for hiding this comment

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

👍

@hileef hileef merged commit 3aea406 into master Sep 10, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Elastic cache TLS configuration

4 participants