Configure HTTPS without xpack and nginx or any other external modules

I am trying to configure https for elasticsearch without any third party modules or reverse proxies.
Any idea how to approach it.

I do not think that is possible.

Can you justify why it is not possible.
There has to be some way

Open source Elasticsearch does not support this, which is why plugins have been developed to add this functionality.

is it possible to write a custom plugin for providing https .

Yes. That has been done. Why would you choose to create and maintain your own rather than using something that already exists though?

1 Like

Good luck.

Note that you will need to maintain it anytime you will have to update elastic stack.
Elasticsearch 6.6 contains that feature out of the box. You can just activate the trial period for 30 days to test it.

https://qbox.io/blog/elasticsearch-netty-secure-ssl-tls-implementation
I went through above blog to connfigure ssl,but most of netty functions used here are not supported now.
Can somebody provide the updated steps of that blog.

Hi @Christian_Dahlqvist,
I configured ssl for elasticsearch without any plugins by modifying netty4servertransport module.

Did you create this as a plugin or are you now running a custom build?

No i did not create any plugins,i just modified initchannel of httpchannelhandler.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.