Environment:
Corporate firewall
Problem:
When calling
w3 = Web3(Web3.HTTPProvider("https://ropsten.infura.io/v3/API_KEY"))
in web3.py
, the request will be blocked by firewall with
SSLError("Can't connect to HTTPS URL because the SSL module is not available.")
Attempt:
Web3(Web3.HTTPProvider("https://ropsten.infura.io/v3/API_KEY",
request_kwargs={'cert': "CERTIFICATE.pem"}))
which should solve the issue according the python request documentation. However this problem persists.
Question:
Is there any mistake with my attempt? Is there a way to deactivate SSL cert?