Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for TLS on port 9300 #3

Open
veronesip opened this issue Jul 24, 2017 · 1 comment
Open

Support for TLS on port 9300 #3

veronesip opened this issue Jul 24, 2017 · 1 comment

Comments

@veronesip
Copy link

Search Guard, as well as x-pack, use TLS to encrypt the transport layer (port 9300, optionally also http layer on port 9200).

Is it possibile to configure elasticsearch-site to support it?

error message is
Error: {"message":"None of the configured nodes are available: [{#transport#-1}{WpGL9P14RaS8TF4InyAUrA}{127.0.0.1}{127.0.0.1:9300}]","ok":false}

@shi-yuan
Copy link
Member

shi-yuan commented Jul 30, 2017

ESClient has added security, you can modify ioc.js:

var ioc = {
    esClient: {
        type: "org.nlpcn.elasticsearch.site.ESClient",
        args: [true, "elastic:changeme","127.0.0.1:9300"],
        events: {
            depose: 'destroy'
        }
    }
};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants