@ -106,7 +106,7 @@ public class RedisChannelInitializer extends ChannelInitializer<Channel> {
private void initSsl(final RedisClientConfig config, Channel ch) throws KeyStoreException, IOException,
NoSuchAlgorithmException, CertificateException, SSLException, UnrecoverableKeyException {
if (!"rediss".equals(config.getAddress().getScheme())) {
if (!config.getAddress().isSsl()) {
return;
}
@ -114,7 +114,7 @@ public class ClusterConnectionManager extends MasterSlaveConnectionManager {
clusterNodesCommand = RedisCommands.CLUSTER_NODES;
if ("rediss".equals(addr.getScheme())) {
if (addr.isSsl()) {
clusterNodesCommand = RedisCommands.CLUSTER_NODES_SSL;