Pythonic way to connect hashicorp vault using self signed certificate

I am trying to connect to vault using python & with self signed certificate (cert based auth) However, I am not able to get authenticated for some reason in python

I have posted my attempt here python - Pythonic way to connect hashicorp vault using self signed certificate - Stack Overflow

Along with that I even tried with requests

 requests.post('https://localhost:8203/v1/auth/cert/login',cert=('hv.crt','hv.key'),verify=False).content

it also fails with

“failed to verify client's certificate: x509: certificate is not authorized to sign other certificates”

same error given if try to run with curl command mentioned in stackoverflow if I remove --cacert cacert.pem & work when add it. This cacert.pem doesn’t exist on local

I solved it python - Pythonic way to connect hashicorp vault using self signed certificate - Stack Overflow