Connecting to Secure Elasticsearch
Moderator: Thorsten
Connecting to Secure Elasticsearch
Is there a setting that I can put into the Elasticsearch config for SSL connections to Elasticsearch?
Re: Connecting to Secure Elasticsearch
Hi,
well, Elasticsearch will probably run on a different port, right?
bye
Thorsten
well, Elasticsearch will probably run on a different port, right?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Connecting to Secure Elasticsearch
Ya, I've changed my elasticsearch.php config file to
but it doesn't appear to connect and I'm not seeing any errors with debug enabled.
Code: Select all
<?php
$PMF_ES['hosts'] = ['https://elasticsearch.contoso.com:9200'];
$PMF_ES['index'] = 'phpmyfaq';
Re: Connecting to Secure Elasticsearch
Any ideas on how to get this to work or troubleshooting steps? Any logging I can enable or a list of variables available?
Re: Connecting to Secure Elasticsearch
Hi,
did you try to enable TLS in Elasticsearch this way?
https://www.elastic.co/blog/configuring ... d-logstash
bye
Thorsten
did you try to enable TLS in Elasticsearch this way?
https://www.elastic.co/blog/configuring ... d-logstash
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Connecting to Secure Elasticsearch
Ya, there's really not any other way to configure it. When hitting the URL, it requests a username/password. Are there variables that can be entered in the elasticsearch.php file for user/pass?
Edit: Actually, I deviated from that process by using a publicly signed wildcard certificate.
Edit: Actually, I deviated from that process by using a publicly signed wildcard certificate.
Re: Connecting to Secure Elasticsearch
Does it work now?
bye
Thorsten
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Connecting to Secure Elasticsearch
It does not.
Re: Connecting to Secure Elasticsearch
Hi,
okay, I'll try that on my local development environment.
bye
Thorsten
okay, I'll try that on my local development environment.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist