I have installed Redis locally and configured TLS:
redis.conf
tls-cert-file ~/my.crt.pem
tls-key-file ~/my.key.pem
tls-ca-cert-file ~/ca_root.crt
I can use redis-cli to connect to it just fine by:
redis-cli --tls --cert ~/my.crt.pem --key ~/my.key.pem --cacert ~/ca_root.crt
and that works great. How do I setup StackExchange.Redis.ConfigurationOptions
properly for TLS to work from a .NET app? No maatter what I do, I get certificate errors or mismatch.
ConfigurationOptions.CertificateValidation
? Please show what you tried.ConfigurationOptions.CertificateValidation
I have tried to returning the same certificate without success.