[X] I have searched existing issues to ensure the issue has not already been raised
Issue
I have the following piece of code which works perfectly when connecting to Redis.
import fastifyRedis from "@fastify/redis";
fastify.register(fastifyRedis, {
host: '',
port: 6379,
username: 'test',
password: 'test',
family: 4,
lazyConnect: true,
closeClient: true, //close redis connection when fastify shuts down
});
However, the Redis server that I have has TLS configured and there doesn't seem to be a straightforward way on how to enable TLS based on the connection options.
I've tried the following 2 versions and none of them worked, I'm not using Redis Sentinel.
Prerequisites
Issue
I have the following piece of code which works perfectly when connecting to Redis.
However, the Redis server that I have has TLS configured and there doesn't seem to be a straightforward way on how to enable TLS based on the connection options.
I've tried the following 2 versions and none of them worked, I'm not using Redis Sentinel.
Anyone faced this issue before? Is there any proper way or a workaround on how to get this working?
Thank you 😃