Closed revmannl closed 4 years ago
From the error it looks like the cert is not trusted, which should not be the case with verify_ssl = false
.
Are there any other messages logged? i.e. something about the verify_ssl = false
not getting picket up or so?
By looking at the logging from HA, there are no messages that the verify_ssl = false
is not getting picked up. Running the 'curl' command in the homeassistant docker also states that it cannot verify the legitimacy of the server. Running 'curl' with the--insecure
option works. Somehow the docker doesn't seem to have the right certs in its truststore.
Are there other places where I could find any errors regarding the python script or HA not picking up the verify_ssl = false
?
jakommo... after changing the config of elastic to use different cert and changing the HA configuration to url = '<servername:port>'
with the quotes and verify_ssl = true
, it is working!
After reading some more about the LetsEncrypt cert it appears I was using the wrong cert :/ Changing that to the right one, 'curl' in the homeassistant docker started working, but needed to change the url = '<servername:port>'
to use those quotes, without them, same error that cert was no good.
Doesn't seem to make sence though, but I am keeping this config as I am getting data into Elastic.
Thanks for the reply, and thanks for the Integration to Elastic!!
Thanks @jakommo for helping out. Glad you got this sorted, and thanks for posting what finally worked for you @revmannl!
I'm going to close this since it appears you have everything up and running now 👍
Trying the plugin from Hassio on Pi but cannot connect to an Elasticsearch running on HTTPS. I got the right certificates configured on ES (Let's Encrypt) connecting with browser is no issue. All efforts result in SSL errors. Config seems to ignore the
verify_ssl = false
option.Is this part on my end, or something with the elastic add-on in HA?