# \[Question\] How to connect Weaviate Python client with custom certificate?

**URL:** https://forum.weaviate.io/t/question-how-to-connect-weaviate-python-client-with-custom-certificate/22016
**Category:** Support
**Tags:** technical
**Created:** [October 6, 2025, 2:19pm UTC](https://forum.weaviate.io/t/question-how-to-connect-weaviate-python-client-with-custom-certificate/22016 "2025-10-06T14:19:00Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![DudaNogueira](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/dudanogueira/32/7846_2.png) [@DudaNogueira](https://forum.weaviate.io/u/DudaNogueira)
#### Post date: [October 6, 2025, 2:29pm UTC](https://forum.weaviate.io/t/question-how-to-connect-weaviate-python-client-with-custom-certificate/22016/2 "2025-10-06T14:29:01Z")

</div>

hi @Subramanya_L !!

Welcome to our community 🤗 !

Check out this thread:

> [@Https: is there a way to get the weaviate client (connect\_to\_XXX) to pass the https certificate](https://forum.weaviate.io/t/https-is-there-a-way-to-get-the-weaviate-client-connect-to-xxx-to-pass-the-https-certificate/21993/2):
>
> Hey, you can initiate your client the following with weaviate.connect\_to\_local(additional\_config=wvc.init.AdditionalConfig(trust\_env=True)) as client: ….your code… and then set environment variables for httpx to pick up any cert files: [Environment Variables - HTTPX](https://www.python-httpx.org/environment_variables/#ssl_cert_file)

Let me know if this helps!

Thanks!

---

_[View the full topic](https://forum.weaviate.io/t/question-how-to-connect-weaviate-python-client-with-custom-certificate/22016)._
