Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to bypass/configure SSL validation for S3 endpoints used for snapshots #4312

Open
mircea-pavel-anton opened this issue Dec 14, 2024 · 2 comments
Assignees
Labels
bug Something isn't working minor nice to have enhancement

Comments

@mircea-pavel-anton
Copy link

mircea-pavel-anton commented Dec 14, 2024

Describe the bug

I have a dragonfly instance deployed in my Kubernetes cluster and I am trying to configure snapshots to an S3 endpoint hosted on a MinIO instance.

The ingress object for the MniIO instance uses a certificate signed by an internal CA, not publicly trusted. This causes the dragonfly snapshot to fail on the SSL verification step and not taking any snapshots.

To Reproduce

Steps to reproduce the behavior:

  1. Deploy a MinIO instance with a TLS cert signed by a custom CA
  2. Deploy a Dragonfly instance that attempts to push snapshots to that MinIO instance
  3. See error on TLS verification

Expected behavior
I would expect to be able to somehow either:

  • disable SSL verification so I can bypass this error,
  • configure a custom certificate for the SSL verification so I can make my minio cert trusted

Environment (please complete the following information):

  • Containerized?: yes. Issue spotted in Kubernetes, troubleshooting was done via Docker
  • Dragonfly Version: 1.25.5

Additional context
I think this is a fairly common setup for corporate environments, having an internal CA that is not publicly trusted.

@mircea-pavel-anton mircea-pavel-anton added the bug Something isn't working label Dec 14, 2024
@romange romange added the minor nice to have enhancement label Dec 15, 2024
@romange
Copy link
Collaborator

romange commented Dec 15, 2024

@andydunstall not urgent at all but sounds like something you may solve quicker than others.

@mircea-pavel-anton
Copy link
Author

@romange just to be clear, this is blocking in the sense that I can't snapshot and restore my dragonfly instance at all.

No snapshots make it through

While I wouldn't necessarily say this is critical, I don't know if I'd call it minor either

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working minor nice to have enhancement
Projects
None yet
Development

No branches or pull requests

3 participants