HTTPS connection with self-signed certificate
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.4k
- Forks
- 304
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 37
Description
Is it possible to initiate an https connection with a server using a self-signed certificate? I couldn't find anything in the docs.
Update: I got it working for https with the following config
import os
os.environ["GRPC_DEFAULT_SSL_ROOTS_FILE_PATH"] = "./qdrant-cert.pem"
client = qdrant_client.QdrantClient(
host="34.136.90.130",
port=6333,
grpc_port=6334,
prefer_grpc=True,
api_key=QDRANT_KEY,
https=True,
verify="./qdrant-cert.pem"
)
It still doesn't work over gRPC though, I'm getting "routines:OPENSSL_internal:TLSV1_ALERT_DECODE_ERROR"
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the QdrantClient configuration shown in the issue, especially prefer_grpc, https, verify, and the GRPC connection path. Reproduce the TLSV1_ALERT_DECODE_ERROR with the self-signed certificate setup, then verify that HTTPS and gRPC both connect successfully using the documented configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- grpc, python
- Domain
- api, networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100