Skip to content

Commit a0fd47b

Browse files
committed
fix: require certs again
1 parent 48784d3 commit a0fd47b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry_sdk/transport.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def _make_pool(dsn, http_proxy, https_proxy):
2424
if not proxy:
2525
proxy = getproxies().get(dsn.scheme)
2626

27-
opts = {"num_pools": 2, "cert_reqs": "CERT_NONE", "ca_certs": certifi.where()}
27+
opts = {"num_pools": 2, "cert_reqs": "CERT_REQUIRED", "ca_certs": certifi.where()}
2828

2929
if proxy:
3030
return urllib3.ProxyManager(proxy, **opts)

0 commit comments

Comments
 (0)