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

Add SSL context for RedisCluster connections #85

Merged

Commits on Apr 10, 2024

  1. support passing ssl context for RedisCluster

    Signed-off-by: robin-brabants <[email protected]>
    Co-authored-by: robin-brabants <[email protected]>
    Signed-off-by: Maximilian Bösing <[email protected]>
    boesing and robin-brabants committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    80b2f75 View commit details
    Browse the repository at this point in the history
  2. raise minimum required version for the phpredis extension since the s…

    …sl/tls context parameter was introduced in version 5.3.2
    
    Signed-off-by: robin-brabants <[email protected]>
    Co-authored-by: robin-brabants <[email protected]>
    Signed-off-by: Maximilian Bösing <[email protected]>
    boesing and robin-brabants committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    c72f32d View commit details
    Browse the repository at this point in the history
  3. improve type documentation of the redis cluster ssl context

    Signed-off-by: robin-brabants <[email protected]>
    Co-authored-by: robin-brabants <[email protected]>
    Signed-off-by: Maximilian Bösing <[email protected]>
    boesing and robin-brabants committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    8151e2a View commit details
    Browse the repository at this point in the history
  4. set the redis cluster ssl context option default to null, otherwise a…

    … TLS connection is attempted by default
    
    Signed-off-by: robin-brabants <[email protected]>
    Co-authored-by: robin-brabants <[email protected]>
    Signed-off-by: Maximilian Bösing <[email protected]>
    boesing and robin-brabants committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    40aa037 View commit details
    Browse the repository at this point in the history
  5. suppress psalm validation errors for the setter setSslContext and the…

    … phpredis RedisCluster class
    
    Signed-off-by: robin-brabants <[email protected]>
    Co-authored-by: robin-brabants <[email protected]>
    Signed-off-by: Maximilian Bösing <[email protected]>
    boesing and robin-brabants committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    468a6b5 View commit details
    Browse the repository at this point in the history
  6. implement an sslContext class which can be used for passing the sslCo…

    …ntext to the RedisCluster
    
    Signed-off-by: robin-brabants <[email protected]>
    Co-authored-by: robin-brabants <[email protected]>
    Signed-off-by: Maximilian Bösing <[email protected]>
    boesing and robin-brabants committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    a195a52 View commit details
    Browse the repository at this point in the history
  7. move psalm validation error suppression for the RedisCluster construc…

    …tor to the code
    
    Signed-off-by: robin-brabants <[email protected]>
    Co-authored-by: robin-brabants <[email protected]>
    Signed-off-by: Maximilian Bösing <[email protected]>
    boesing and robin-brabants committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    da3bd31 View commit details
    Browse the repository at this point in the history
  8. refactor: SslContext and its instantiation

    This refactors some of the `SslContext` implementation to have better readability, less complexity (regarding camel case handling, etc.) and explicit context serialization.
    
    Signed-off-by: Maximilian Bösing <[email protected]>
    boesing committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    d387d42 View commit details
    Browse the repository at this point in the history