Add certifi fallback for SSL certificate issues - #1732
Conversation
|
Thanks for the contribution! Before we can merge this, we need @monolith-jaehoon to sign the Salesforce Inc. Contributor License Agreement. |
9472b03 to
0c514c4
Compare
0c514c4 to
00a47f1
Compare
|
Thanks for the PR @monolith-jaehoon, and for taking the time to implement this. This change is tied directly to #1491, and the maintainers haven't reached a decision there yet: whether to adopt In the meantime, the recommended path for anyone hitting import os
import ssl
import certifi
from slack_sdk import WebClient
ssl_context = ssl.create_default_context(cafile=certifi.where())
client = WebClient(token=os.environ["SLACK_BOT_TOKEN"], ssl=ssl_context)Really appreciate the contribution, and thanks for understanding! 🙏 We can always reopen this PR in the future |
Using Claude 4 Sonnet
Summary
Testing
ISRG Root X1certificate in OSCategory
/docs(Documents)/tutorial(PythOnBoardingBot tutorial)tests/integration_tests(Automated tests for this library)Requirements
python3 -m venv .venv && source .venv/bin/activate && ./scripts/run_validation.shafter making the changes.