Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ottacom opened this issue Feb 8, 2023 · 0 comments
Open

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

ottacom opened this issue Feb 8, 2023 · 0 comments

Comments

@ottacom
Copy link

ottacom commented Feb 8, 2023

  • bigchaindb-driver version:6.0.2
  • bigchaindb server version (bigchaindb -v):2.2.2
  • Python version: 3.8.10
  • Operating System: ubuntu 16.04-18.04-20.03

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant