# Authentication of my Python Script Elasticsearch 8.3

**URL:** <https://discuss.elastic.co/t/authentication-of-my-python-script-elasticsearch-8-3/308901>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [July 5, 2022, 11:40am UTC](https://discuss.elastic.co/t/authentication-of-my-python-script-elasticsearch-8-3/308901 "2022-07-05T11:40:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![V\_o](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/v_o/32/102170_2.png) [@V\_o](https://discuss.elastic.co/u/V_o)\
**Post date:** [July 5, 2022, 11:40am UTC](https://discuss.elastic.co/t/authentication-of-my-python-script-elasticsearch-8-3/308901/1 "2022-07-05T11:40:46Z")

</div>

Hello, since Elasticsearch version 8... my Python scrips, which are sending  
Data to Elasticsearch are no longer working.  
I tried solving this Problem by using this code.

```auto
client = Elasticsearch(
    "https://localhost:9200",
    ssl_assert_fingerprint=CERT_FINGERPRINT,
    basic_auth=("elastic", ELASTIC_PASSWORD)
)

```

* * *

I always get this Error:

## GET Error: No connection adapters were found for "\<Elasticsearch(['[https://localhost:9200/index](https://localhost:9200/index)'])\>"

Would be great if anyone could help 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 2, 2022, 11:41am UTC](https://discuss.elastic.co/t/authentication-of-my-python-script-elasticsearch-8-3/308901/2 "2022-08-02T11:41:00Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
