Skip to content

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

Open
@ottacom

Description

@ottacom
  • 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions