Skip to content

Client ssl certificate authentication with sentinel #48

Description

@dmellos

Hi,

Is it possible to send certificates as part of the call below when connecting to sentinel? I have setup redis and sentinel using TLS, but don't know how can clients connects to TLS Sentinel.

local redis, err = rc:connect {
url = "sentinel://mymaster:m",
sentinels = {},
password = "password",
-- tls = {
-- cert = "",
-- key = "",
-- cacert = ""
-- }
}

I am trying to do the following using lua-resty-redis-connector.
redis-cli -p 26379
--tls
--cert /etc/redis/tls/redis.crt
--key /etc/redis/tls/redis.key
--cacert /etc/redis/tls/ca.crt

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions