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

Add support for self-signed certificates #243

Closed
sagar-khanna opened this issue Nov 20, 2020 · 0 comments · Fixed by #246
Closed

Add support for self-signed certificates #243

sagar-khanna opened this issue Nov 20, 2020 · 0 comments · Fixed by #246
Labels
kind/bug Bug related issue

Comments

@sagar-khanna
Copy link

Describe the bug
We have HAProxy setup between the datadog agents and datadoghq which is using a self-signed certificate.
At the moment there is no provision on this line given below to pass OpenSSL::SSL::VERIFY_NONE or something similar to handle self-signed certificates in case of HAProxy or similar:

connection = Net::HTTP

Please note: The root CA is already installed at the global os level.
Raising this issue so we can add support to handle or ignore self-signed certificates in legitimate cases by either reading a chef attribute or using the datadog.yaml config (skip_ssl_validation: true) or something similar to make it work.

Label the issue properly.

  • Add severity/ label.
  • Add documentation label if this issue is related to documentation changes.

To Reproduce
Steps to reproduce the behavior:

  1. Configure env such that agents talk to HAProxy to get to datadoghq
  2. Use Chef (or similar) and add datadog:dd-handler recipe to the host's run_list
  3. Observe the error at the end of a chef-client run.

Expected behavior
It should submit metrics to Datadog

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

Environment and Versions (please complete the following information):
As per steps to reproduce section above.

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Bug related issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant