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:  bootstrap checks failed
: Transport SSL must be enabled if security is enabled on a [basic] license. Please set [xpack.security.transport.ssl.enabled] to [true] or disable security by setting [xpack.security.enabled] to [false]
As per documentation it should start when xpack.security.enabled is true and xpack.license.self_generated.type is trial.
Is this problem with bootstrapping?