Skip to content

[NFR]: Add support for custom TLS/SSL settings on Redis Adapter #16711

@RayHughes

Description

@RayHughes

Is your feature request related to a problem? Please describe.
When using a self signed certificate, Redis requires either verification be turned off or a certificate provided on handshake. The current implementation does not support custom settings.

  'redis' => [
        'ssl' =>
            [
                'verify_peer' => false,
                'verify_peer_name' => false,
            ],
    ],

Unsupported Settings for the ssl configuration

  • verify_peer
  • verify_peer_name
  • local_cert
  • local_pk
  • cafile

Describe the solution you'd like
The unsupported SSL settings added to the the Redis Adapters.

Describe alternatives you've considered
As an alternative, I have created a custom adapter that invokes the client directly with custom configuration. However this solution does not use the phalcon AbstractAdapter classes.

Metadata

Metadata

Assignees

Labels

5.0The issues we want to solve in the 5.0 releasenew feature requestPlanned Feature or New Feature Request

Projects

Status

Released

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions