GitHub user bennyz edited a discussion: HTTP operator with custom certificate 
in python bindings

I am trying to use the http operator in the python bindings to access a url 
with a custom certificate, but I get:
```
error sending request for url (https://internal/index.html): client error 
(Connect): invalid peer certificate: UnknownIssuer
```


with:
```
python3 -c "from opendal import Operator; print(Operator('http', 
endpoint='https://internal').read('index.html').decode().splitlines()[0])"
```


I have added the certificate to the system, and it works with curl, but I can't 
get it to work. It seems to be related to the features enabled by `reqwest`, 
but I guess I can't control from the python library? Is there any way around 
this?


GitHub link: https://github.com/apache/opendal/discussions/6418

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to