Error while starting elasticsearch

In my scenario I have started elasticsearch 7.2 first and stopped it and added following property:

xpack.license.self_generated.type: trial
xpack.monitoring.collection.enabled: true

And restarted elasticsearch then it gives me this error:

ERROR: [1] bootstrap checks failed
[1]: Transport SSL must be enabled if security is enabled on a [basic] license. Please set [] to [true] or disable security by setting [] to [false]

As per documentation it should start when is true and xpack.license.self_generated.type is trial.

Is this problem with bootstrapping?

Hi you can enable the below mentioned settings in order to solve your issue. true true

1 Like

You are not actually running with a trial license. xpack.license.self_generated.type takes effect only if you add it in your configuration before the first time you run elasticsearch. Otherwise, it will start and self-generate a basic license, which is what happened in your case. You can still start a trial if you want to, but you have to use the start trial API


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