bigchaindb / bigchaindb-driver

Official Python driver for BigchainDB
https://www.bigchaindb.com
Apache License 2.0
104 stars 104 forks source link

Workaround to use the driver with bigchaindb behind https NGINX #512

Open ottacom opened 1 year ago

ottacom commented 1 year ago

Description

If you are using bighchaindb (in my case bigchaindb is running into docker) and you want to protect the connection using HTTPS connection across NGINX the driver will run in timeout always. My python client is running on a VM which is also equipped with the right CA (the same of NGINX) Curl is working properly , but NO-WAY to use the python drivers with ssl.

What I Did

TO FIX the problem I opened the file: /usr/local/lib/python3.8/dist-packages/certifi-2022.12.7-py3.8.egg/certifi/cacert.pem and I append my CA (the same used by NGINX ) manually at the bottom of the file upon.

Can you please update the installation guide?