I have the following use case:
I need to use https/ssl in elasticsearch but disable http basic auth.
My configuration is following:
xpack.ssl.certificate_authorities: [ "/usr/share/elasticsearch/config/x-pack/ca.crt" ]
What are the means to do this ?
Thank you in advance !
You need to implement this by enabling anonymous access.
SSL is tied into the same feature setting as authentication, so you cannot enable SSL without also enabling authentication.
First, a warning:
Are you really sure you want to do this?
It seems quite strange to want to use the confidentiality and integrity features that SSL provides, but then have absolutely no authentication or access controls on your data.
If you think you need
https, then you should really consider enabling authentication as well.
Now, for enabling anonymous access, see here: Action [cluster:monitor/main] is unauthorized for user - #2 by Turbo_Fredriksson
@TimV, thank you for response , solution that you provided works !
Unfortunately, I need to disable basic authentication because of requirements.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.