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

StarterBot Certificate issues #185

Open
anotherwally opened this issue Sep 1, 2018 · 2 comments
Open

StarterBot Certificate issues #185

anotherwally opened this issue Sep 1, 2018 · 2 comments

Comments

@anotherwally
Copy link
Contributor

Hello,

I was following the tutorial for creating StarterBot and initially I was running into a weird error related to a failed SSL certificate:
slackclient.server.SlackConnectionError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate

Probably would be nice to add this (or a link) at the end of the post if another person runs into this error to know what steps to take.

  • Download DigiCerts:
    wget https://www.tbs-certificats.com/issuerdata/DigiCertGlobalRootCA.crt
  • Export cert:
    export WEBSOCKET_CLIENT_CA_BUNDLE=DigiCertGlobalRootCA.crt

Source: https://stackoverflow.com/a/51495648/4422594

That did it for me. 👍

Thanks!

P.S - I could submit a PR updating the content for that post.

@mattmakai
Copy link
Owner

thanks @Warlord08, sounds like this is a new issue with the websocket package. if you can submit a PR that fixes the issue that'd be awesome. if not I'll try to go through this and update it sometime in the future so other folks don't run into the same issue

@anotherwally
Copy link
Contributor Author

Hey @mattmakai - sure I'll try to submit a PR for this. Thanks!

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

No branches or pull requests

2 participants