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

SSL configuration and authentication for the HTTP check #33

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

rbague
Copy link

@rbague rbague commented Sep 1, 2022

While implementing some HTTP status checks that we use in one of our applications, I noticed that the HTTP check skips SSL certificate validation in HTTPS requests, and that it does not use the authorization credentials if provided in the URI, which required us to monkey-patch it so we can use it.

This PR fixes both of those things.

  • Verify the SSL certificate on HTTP requests
  • Add basic authentication to the request, if it's present in the URI

Let me know if you need me to change anything in order to get it merged!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant