node-redis icon indicating copy to clipboard operation
node-redis copied to clipboard

Defenition is missing "ca" when connecting with tls

Open huineng opened this issue 1 year ago • 1 comments

Description

ca?: string is missing for socket options

i bypass it now like this

(options.socket as any).ca

image

Node.js Version

v18.18.2

Redis Server Version

6.2.13

Node Redis Version

4.6.12

Platform

mac

Logs

No response

huineng avatar Dec 31 '23 09:12 huineng

https://github.com/redis/node-redis/pull/2664/files/3dea4006e7a2c0dad0567591fc06ad9879a9b44e#diff-6dc6679ebf8ec73bbf010731349f115b52f0a2e2a3b9a4e5cf93e6897cc015bdR31

I think this solves it, need to check and cherry-pick to v4...

leibale avatar Jan 16 '24 20:01 leibale