Sweet lord it's been a long day. Ubuntu newb, ~0 zero knowledge in cryptography certificates. Creating a flask project and want to follow this tutorial to use elastic to index my postgres + sqlalchemy database.
Python: 3.1+
Ubuntu: 22.04 LTS
Elastic: 8.3.3
When I failed to setup instance with pip3 install elastisearch
I embarked on a mission to install elastic on Ubuntu. After some sweat, managed to get json response via curl. So service is running. However elastic service is nowhere to be found in service --status-all
What is up with that?!
I don't even know if installing along this tutorial was necessary when using python...
I failed to generate .pem file using certutils. I managed to generate .zip with .crt and .key inside. However documentation on website suggests using .pem: ca_certs="/path/to/certs.pem"
HOW?
ssl_assert_fingerprint
in documenation is like ~50 chrs long. my fingerprint is like 2000 chars long and is in file.
This documentation has nothing on https connection. This one does, but when I use:
es = Elasticsearch(['https://elastic:<password>@localhost:9200'])
es.ping()
returns False
.
however on browser when I goto https://localhost:9200
go pass chrome security warnings and enter login: elastic and password issued at elastic setup I do get json response back.
People, HELP.