fullstackpython.com icon indicating copy to clipboard operation
fullstackpython.com copied to clipboard

StarterBot Certificate issues

Open anotherwally opened this issue 8 years ago • 2 comments

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.

anotherwally avatar Sep 01 '18 02:09 anotherwally

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

mattmakai avatar Sep 02 '18 20:09 mattmakai

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

anotherwally avatar Sep 03 '18 12:09 anotherwally