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

Elastic Search with SSL support #73

Open
ashishcoolbhargava opened this issue Feb 16, 2015 · 2 comments
Open

Elastic Search with SSL support #73

ashishcoolbhargava opened this issue Feb 16, 2015 · 2 comments

Comments

@ashishcoolbhargava
Copy link

Hi ,

I want to setup my ELS engine to have a support of the SSL.
Can somebody suggest anything for that.
i had already tried the modification with jetty

https://github.com/sonian/elasticsearch-jetty

which is not supporting the latest ELS version 1.4.1.

#72

i tried with nginx also but not able to configure with windows.

Can anybody suggest anything on that.

@ashishcoolbhargava
Copy link
Author

Getting this issue with apache jetty 1.2.1
even i am using the same Transport class.

[2015-02-16 15:48:15,929][INFO ][node ] [copy] version[1.4.2], pid[6844], build[927caff/2014-12-16T14:11:12Z]
[2015-02-16 15:48:15,929][INFO ][node ] [copy] initializing ...
[2015-02-16 15:48:15,992][INFO ][plugins ] [copy] loaded [xml-1.2.2.1-4f0a0c1, QueryResultCachePlugin, ExtensionPlugin, jetty, jdbc-1
.4.0.5-0774f01], sites [head]
[2015-02-16 15:48:19,465][INFO ][node ] [copy] initialized
[2015-02-16 15:48:19,465][INFO ][node ] [copy] starting ...
[2015-02-16 15:48:19,621][INFO ][transport ] [copy] bound_address {inet[/0:0:0:0:0:0:0:0:9300]}, publish_address {inet[/192.168.18.58:9
300]}
[2015-02-16 15:48:19,761][INFO ][discovery ] [copy] AdvancedSearch/96FeXNAjQaGVB1PVBBoCFQ
[2015-02-16 15:48:23,569][INFO ][cluster.service ] [copy] new_master [copy][96FeXNAjQaGVB1PVBBoCFQ][WLW7-ASHISHB][inet[/192.168.18.58:9300]],
reason: zen-disco-join (elected_as_master)
[2015-02-16 15:48:23,616][ERROR][com.sonian.elasticsearch.http.jetty.JettyHttpServerTransport] [copy] Jetty Startup Failed
org.elasticsearch.env.FailedToResolveConfigException: Failed to resolve config path [jetty.xml], tried file path [jetty.xml], path file [D:\Desktop\sh
iro\elastic\elasticsearch-1.4.1 - Copy\config\jetty.xml], and classpath
at org.elasticsearch.env.Environment.resolveConfig(Environment.java:213)
at com.sonian.elasticsearch.http.jetty.JettyHttpServerTransport$1.onPortNumber(JettyHttpServerTransport.java:111)
at org.elasticsearch.common.transport.PortsRange.iterate(PortsRange.java:69)
at com.sonian.elasticsearch.http.jetty.JettyHttpServerTransport.doStart(JettyHttpServerTransport.java:100)
at org.elasticsearch.common.component.AbstractLifecycleComponent.start(AbstractLifecycleComponent.java:85)
at org.elasticsearch.http.HttpServer.doStart(HttpServer.java:89)
at org.elasticsearch.common.component.AbstractLifecycleComponent.start(AbstractLifecycleComponent.java:85)
at org.elasticsearch.node.internal.InternalNode.start(InternalNode.java:255)
at org.elasticsearch.bootstrap.Bootstrap.start(Bootstrap.java:122)
at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:206)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32)
{1.4.2}: Startup Failed ...

  • BindHttpException[Failed to bind to [9200-9300]]
    FailedToResolveConfigException[Failed to resolve config path [jetty.xml], tried file path [jetty.xml], path file [D:\Desktop\shiro\elastic\ela
    sticsearch-1.4.1 - Copy\config\jetty.xml], and classpath]

@jrgns
Copy link

jrgns commented Oct 22, 2015

If you're still looking for a solution, check out this post which shows you how to use Nginx to secure Elasticsearch: http://blog.eagerelk.com/securing-elasticsearch-using-nginx-as-a-proxy/

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