This PR enables to use SSL and Basic authentication.
This implementation works with Elastic Cloud. Also works with local Elasticsearch server that was installed X-Pack security feature(formally called as 'Shield').
'Security' also supports other auth method like LDAP or ActiveDirectory.
But this PR doesn't contains support for such methods.
Process to enable 'security'(or shield) at local Elasticsearch server
# Install plugin
$ ./bin/plugin install license
$ ./bin/plugin install shield
$ ./bin/elasticsearch # start Es server
# Add user
$ ./bin/shield/esusers useradd admin -r admin # create 'admin' user as admin role
$ ./bin/shield/esusers useradd elastic -r power_user # create 'elastic' user as power_user role(read/write role)
Related to #32
This PR enables to use SSL and Basic authentication. This implementation works with Elastic Cloud. Also works with local Elasticsearch server that was installed X-Pack security feature(formally called as 'Shield').
'Security' also supports other auth method like LDAP or ActiveDirectory. But this PR doesn't contains support for such methods.
Process to enable 'security'(or shield) at local Elasticsearch server
References
Using Elasticsearch HTTP/REST Clients with Shield | Shield [2.4] | Elastic