Skip to content

Conversation

xianwill
Copy link
Contributor

This PR finishes out a branch proposed a while ago by @alanroche in #144 to add TLS support.

For our purposes we needed the additional constructor parameters for RedisEndpoint mentioned by @yananielsen in the notes of that PR to get everything working which I have added in this branch. I've also added a line of documentation in doc/configuration.md mentioning the ssl config option.

poolConfig.setNumTestsPerEvictionRun(-1)
new JedisPool(poolConfig, re.host, re.port, re.timeout, re.auth, re.dbNum)

new JedisPool(poolConfig, re.host, re.port, re.timeout, re.auth, re.dbNum, re.ssl)
Copy link
Contributor

Choose a reason for hiding this comment

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

@xianwill using this JedisPool constructor might be too week.
The following properties should also be supported

final SSLSocketFactory sslSocketFactory, final SSLParameters sslParameters,
      final HostnameVerifier hostnameVerifier

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.

3 participants