Skip to content

SSL: CERTIFICATE_VERIFY_FAILED using proxy server #1214

@radiocolin

Description

@radiocolin

(Describe your issue and goal here)

The Slack SDK version

3.15.2

Python runtime version

3.7.4

OS info

RHEL 7

Steps to reproduce:

I am using the slack_sdk behind a corporate proxy that has its own SSL certificate chain. If I attempt to make a request to the Slack API using the requests library, the request is successful.

If I try using the slack_sdk, I get a urllib error:
urllib.error. URLError: urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1076)>

I suspect there is a magic incantation I need to point it at our certificate chain, either an environment variable to set or some code to add to my Python script, but as of yet I am unsure what that is. I have tried all of the environment variables in this thread with no luck.

Metadata

Metadata

Assignees

Labels

needs infoAn issue that is claimed to be a bug and hasn't been reproduced, or otherwise needs more infoquestionM-T: User needs support to use the project

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions