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

Fixing slack ssl verification #2760

Closed

Conversation

JeffAshton
Copy link
Contributor

@JeffAshton JeffAshton commented Apr 24, 2020

Fixes #2955

@JeffAshton JeffAshton force-pushed the fixing-slack-ssl-verification branch from 66d423f to 340ce36 Compare April 24, 2020 20:19
@@ -1205,7 +1205,7 @@ def alert(self, matches):
if self.slack_ca_certs:
verify = self.slack_ca_certs
else:
verify = self.slack_ignore_ssl_errors
verify = not self.slack_ignore_ssl_errors
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If slack_ignore_ssl_errors = True, then you don't want to validate.

https://requests.readthedocs.io/en/master/user/advanced/#ssl-cert-verification

@nsano-rururu
Copy link
Contributor

Merged into elastalert2.
jertel/elastalert2#30

@nsano-rururu nsano-rururu mentioned this pull request Sep 24, 2021
@JeffAshton
Copy link
Contributor Author

Closing in favour of jertel/elastalert2.

@JeffAshton JeffAshton closed this Oct 26, 2021
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.

Slack SSL Verification Disabled by Default
2 participants