Cannot configure Open ID Connect - cant store key in elastic keystore for persistent usage

I solved it by using helm chart. For Elasticsearch, there is section How to use the keystore.