How to configure skip_verify: false with redis sentinel tls #216
Unanswered
pfaelzerchen
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Sorry for not replying sooner, been rather busy and I didn't notice this. The certificates existing secret takes a secret which contains a list of certificates to be trusted. They can either be the actual certificate in question or the certificate of the private key which directly signed the certificate for the server. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am struggling a bit with the last step of setting up the redis connection with the authelia chart. So far, I have a redis sentinel deployment with tls encryption. The tls certificate is self-signed and provided by cert-manager under the secret name
tls-redis
.Here is the snipped from the redis values.yaml. I'm using bitnami's helm chart:
So far, authelia is able to connect to redis as long as
skip_verify:true
is set. redis and authelia are both deployed to the same namespace (authelia) along with the secret tls_redis. However, the issuer certificate that cert-manager's ClusterIssuer uses is within another namespace. It wouldn't be difficult to set up another self-signed Issuer in authelia's namespace, if necessary.Probably in this situation
skip_verify:true
is not a big problem, but I wanted to try to provide for a real verification.I didn't really find something helpful in the docs or example configs with Google. Therefore, I tried the naive way and added
to my values.yaml for authelia. But this leads to a connection error (all sentinel nodes are unreachable) when I switch to
skip_verify:false
. Back toskip_verify:true
everything is working fine again.Can anyone give me a hint how this works? Is there also a possibility to provide a certificate for authentication (
authClients: true
in the redis values.yaml)?Beta Was this translation helpful? Give feedback.
All reactions