Remote-connect to Elastic Node via Python

Trying to connect to a single Elastic node via Python, but I keep getting errors, mostly related to certificate issues. I have Elastic installed on an Ubuntu server and then try to connect to it from a Windows 10 machine.

Connecting to it via the browser from the Windows machine is no problem. I get the expected output:

The problem is when I have to connect using Python. I've tried every example in the tutorial page, but none worked. Here's my latest attempt:


I've copied the certificate from the ubuntu server to the Windows machine, but still it refuses to validate it.

I dont know what I'm doing wrong. Any help is appreciated.

Please don't post pictures of text, logs or code. They are difficult to read, impossible to search and replicate (if it's code), and some people may not be even able to see them :slight_smile:

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