Elasticsearch localhost should not be checking if certificate is self signed

invalid@example.com (aoeif8puimklv), aoeif8puimklv
Mon, 01 Aug 2022 19:34:46 +0000
Enhanced Search suggestions

when installing elasticsearch, now elasticsearch enables https by default and disables http by default. Xenforo should not be checking for if the cert is self signed if elasticsearch is on localhost.

solution: add a argument to check if elastic search is localhost, if true then allow self signed certificate.