Coder Social home page Coder Social logo

ackermann / search-guard-ssl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ao1024/search-guard-ssl

0.0 2.0 0.0 134 KB

Elasticsearch SSL for free. Does also support native Open SSL

Home Page: https://github.com/floragunncom/search-guard-ssl/wiki

License: Apache License 2.0

Shell 7.82% Java 92.18%

search-guard-ssl's Introduction

Search Guard SSL for Elasticsearch 2

Elasticsearch SSL for free.

Search Guard SSL is a free and open source plugin for Elasticsearch which provides SSL for Elasticsearch. It does not provide authentication and authorization. For that pls refer to Search Guard.

Logo

##Support See wiki

##Features

  • Node-to-node encryption through SSL/TLS (Transport layer)
  • Secure REST layer through HTTPS (SSL/TLS)
  • Supports JDK SSL and Open SSL
  • Only external dependency is Netty 4 (and Tomcat Native if Open SSL is used)
  • Works with Kibana 4, logstash and beats

##Pre-Installation ###Prerequisites:

  • Java 7 or 8 (Oracle Java 8 recommended)
  • Elasticsearch 2
  • Optional: Tomcat Native and Open SSL, see wiki

###Check Release Integrity See wiki

##Installation Install it like any other Elasticsearch plugin

  • bin/plugin install com.floragunn/search-guard-ssl/<version> OR
  • sudo bin/plugin install com.floragunn/search-guard-ssl/<version>

Accept the following warning with y (since ES >= 2.2)

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@     WARNING: plugin requires additional permissions     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
* java.lang.RuntimePermission accessClassInPackage.sun.misc
* java.lang.RuntimePermission getClassLoader
* java.lang.RuntimePermission loadLibrary.*
* java.lang.reflect.ReflectPermission suppressAccessChecks
* java.security.SecurityPermission getProperty.ssl.KeyManagerFactory.algorithm
See http://docs.oracle.com/javase/8/docs/technotes/guides/security/permissions.html
for descriptions of what these permissions allow and the associated risks.

To find the latest plugin version which is compatible with your Elasticsearch version pls refer to the wiki.

##Configuration

Search Guard SSL configuration is done in elasticsearch.yml. Please refer to searchguard-ssl-config-template.yml to see the configuration options and their defaults.

Check your configuration by visiting https://localhost:9200/_searchguard/sslinfo?pretty if you have enabled HTTPS or http://localhost:9200/_searchguard/sslinfo?pretty if HTTPS is not enabled.

For details refer to the wiki. If you are running Elasticsearch 2.0.x or 2.1.x you to disable your security manager.

###Logging Configured in elasticsearch's logging.yml. Nothing special. To enable debug just add

logger.com.floragunn.searchguard.ssl: DEBUG

###SSL Certificates

  • Refer to wiki and example-pki-scripts how to generate the certificates. It's strongly recommended to use a root certificate.

###License Copyright 2015 floragunn UG (haftungsbeschränkt)

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

search-guard-ssl's People

Contributors

jochenkressin avatar slaupster avatar t0xiccode avatar tomryanx avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.