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.