Replies: 4 comments 1 reply
-
Any update on it ? |
Beta Was this translation helpful? Give feedback.
-
Can you please share what you guys have tried so far? An example config? |
Beta Was this translation helpful? Give feedback.
-
I can not share the exact code example since it's private of the organization what you need to do is to register a provider in adonis using npm library: "redis": "^4.6.7" follow npm redis library doc and you'll be able to connect using tls certificates |
Beta Was this translation helpful? Give feedback.
-
I needed the AdonisJS redis config to understand why its not working. As per me, the TLS should work outside of the box, since |
Beta Was this translation helpful? Give feedback.
-
Hi.
Before anything, I want to thank the Adonis team. It is a great framework, very helpfull and quite stable.
Now with my question:
We work with distributed microservices and dedicated server instances for db and redis connection
In our case, we use TLS certificate authentication to connect our microservices to our redis intance everytime it is required.
for common express microservices, it is not an issue
but in our AdonisJs projects, we couldn't use native adonis redis wrapper library for that porpouse
it seems that last version of the library does not allows TLS connection parameters
I've been looking closer to the library, and, since it wrapes another redis library, that feature was not included in it.
Do anyone knows if exist any way to use TLS certification config for connecting to Redis using native adonis/redis library?
Beta Was this translation helpful? Give feedback.
All reactions