Is "HTTP SSL is optional" a reality ?

I find “HTTP SSL is optional” on the README file of search guard 2.
But when I read the search-guard-docs it seems SSL certification is a must from the start to the end.

I deploy my elasticsearch in a safe inner-network, so I guess I just need a Http-base Auth not generating root certification, node certification … put them to the right place one by one… err…

So I doubt HTTP SSL is a compulsory.

And search-guard cannot run by it self , why not put search-guard-2 and search-gruad-ssl togther ?

HTTP SSL is optional and its disabled by default. But transport SSL (node-to-node communication) is mandatory for Search Guard 2 therefore you need the SSL plugin either way.

···

Am 30.06.2016 um 18:57 schrieb Jay Miao <jaymiao55@gmail.com>:

I find "HTTP SSL is optional" on the README file of search guard 2.
But when I read the search-guard-docs it seems SSL certification is a must from the start to the end.
I deploy my elasticsearch in a safe inner-network, so I guess I just need a Http-base Auth not generating root certification, node certification ... put them to the right place one by one.. err.............
So I doubt HTTP SSL is a compulsory.
And search-guard cannot run by it self , why not put search-guard-2 and search-gruad-ssl togther ?

--
You received this message because you are subscribed to the Google Groups "Search Guard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to search-guard+unsubscribe@googlegroups.com.
To post to this group, send email to search-guard@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/search-guard/df2fee11-802a-4377-b897-d33b72d59b9f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

“And search-guard cannot run by it self , why not put search-guard-2 and search-gruad-ssl togther ?”

Valid question! Indeed, Search Guard 1 combined both the SSL/TLS layer and auth/auth in one plugin. We decided to split this in two plugins because for a number of users out there, running the SSL plugin only is actually sufficient. With SSL/TLS, you can ensure that:

  • Your data cannot be sniffed (encryption)
  • Your data cannot be tampered with (signing)
  • Only authenticated clients can connect (client auth)
    Many companies already have a PKI infrastructure in place, and do not need full fledged auth/auth. For them it is sufficient to ensure that only verified clients can connect to their cluster. For that, you only need the SSL plugin. So, you can say that this was upon user request.

TLS on the REST layer is indeed optional, while it is mandatory on the transport layer. Without TLS on the transport layer, authentication and authorization does not make much sense from a security point of view.

We do get a lot of questions about this, and we will extend the docs and also write some blog post about the whys, to make this more clear. We also understood that setting up both plugins can be quite cumbersome. We will improve the setup of the plugins in near future, and already provide a pre-configured bundle for a quick start:

https://github.com/floragunncom/search-guard/wiki/Search-Guard-Bundle

···

Am Donnerstag, 30. Juni 2016 18:57:45 UTC+2 schrieb Jay Miao:

I find “HTTP SSL is optional” on the README file of search guard 2.
But when I read the search-guard-docs it seems SSL certification is a must from the start to the end.

I deploy my elasticsearch in a safe inner-network, so I guess I just need a Http-base Auth not generating root certification, node certification … put them to the right place one by one… err…

So I doubt HTTP SSL is a compulsory.

And search-guard cannot run by it self , why not put search-guard-2 and search-gruad-ssl togther ?

Oh, and one more thing. You write: “I deploy my elasticsearch in a safe inner-network, so I guess I just need a Http-base Auth not generating root certification, node certification”

That might be true, but statistics show that most attacks actually come from the internal network, not from the outside. So, in our opinion the highest threat to your data is not some hacker or script kiddie trying to steal data, but internal users. Call us paranoid, but we’re security guys after all :wink:

···

Am Donnerstag, 30. Juni 2016 18:57:45 UTC+2 schrieb Jay Miao:

I find “HTTP SSL is optional” on the README file of search guard 2.
But when I read the search-guard-docs it seems SSL certification is a must from the start to the end.

I deploy my elasticsearch in a safe inner-network, so I guess I just need a Http-base Auth not generating root certification, node certification … put them to the right place one by one… err…

So I doubt HTTP SSL is a compulsory.

And search-guard cannot run by it self , why not put search-guard-2 and search-gruad-ssl togther ?