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 error sending messages to Slack #1801

Open
szaffarano opened this issue Feb 5, 2025 · 0 comments
Open

SSL error sending messages to Slack #1801

szaffarano opened this issue Feb 5, 2025 · 0 comments

Comments

@szaffarano
Copy link

szaffarano commented Feb 5, 2025

Is your feature request related to a problem? Please describe.

Depending on the system configuration where I run edr monitor, it's possible to get the following error when trying to send messages to Slack

urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)>

This is because the system does not have the latest CA files and hence the HTTP request fails due to a TLS handshake error.

Describe the solution you'd like

A possible solution would be to optionally allow the user to use certifi's Root CAs, which are supposed to be updated and are safe to use.

Describe alternatives you've considered

Other option is to update the system CA, but it's not always possible.

Additional context

N/A

Would you be willing to contribute this feature?

Yes, I'm about to submit a PR with the proposed solution.

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

No branches or pull requests

1 participant