dragonflydb / dragonfly

A modern replacement for Redis and Memcached
https://www.dragonflydb.io/
Other
25.28k stars 910 forks source link

`--tls_ca_cert_dir` doesn't work #2081

Closed Pothulapati closed 8 months ago

Pothulapati commented 10 months ago

Describe the bug A clear and concise description of what the bug is.

Just passing a dir with certificates to this argument does not work in Dragonfly while --tls_ca_cert_file works fine with the same file. I get the following error message

Error accepting a client connection: certificate verify failed

This seems similar to similar issues in Redis https://github.com/bitnami/charts/issues/8854, https://github.com/redis/redis/issues/7392

To Reproduce Steps to reproduce the behavior:

  1. Insert records using command
  2. Query records using command
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Expect it to work as expected or have requirements in the flag help section mentioined.

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

Reproducible Code Snippet

# Minimal code snippet to reproduce this bug

Additional context Add any other context about the problem here.

adiholden commented 8 months ago

@kostasrim was this added to documentation? can we close the issue?

kostasrim commented 8 months ago

@adiholden now it is :)