You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not sure if this is a client or elasticsearch bug or caused by some mistake on my part.
We have a test setup for elasticsearch. The setup runs on Elasticsearch-8.6. For security setup, we generate our own CA certificate using elasticsearch-certutil ca --pem command and then use that CA to generate other elasticsearch certificates.
We use elasticsearch-py client to run various tasks on this cluster. The client is configured with ca_certs=/path/to/our/ca.crt. If we use Python3.12, the client works correctly.
However, when we use Python-3.13 (on the same system), the requests fail with
elastic_transport.TlsError: TLS error caused by: TlsError(TLS error caused by: SSLError([SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: CA cert does not include key usage extension (_ssl.c:1020)))
elasticsearch-py version : 8.16.0 (Cluster is 8.6)
OS: Rocky9.5
Requests to cluster made with curl with --cacert pointing to same cert succeed.
The text was updated successfully, but these errors were encountered:
I am not sure if this is a client or elasticsearch bug or caused by some mistake on my part.
We have a test setup for elasticsearch. The setup runs on Elasticsearch-8.6. For security setup, we generate our own CA certificate using
elasticsearch-certutil ca --pem
command and then use that CA to generate other elasticsearch certificates.We use
elasticsearch-py
client to run various tasks on this cluster. The client is configured withca_certs=/path/to/our/ca.crt
. If we use Python3.12, the client works correctly.However, when we use Python-3.13 (on the same system), the requests fail with
elasticsearch-py
version : 8.16.0 (Cluster is 8.6)OS: Rocky9.5
Requests to cluster made with curl with
--cacert
pointing to same cert succeed.The text was updated successfully, but these errors were encountered: