The settings of java.policy

在java.policy中增加:
grant codeBase "file: /user.home/elasticsearch-6.5.1/-",
{
permission java.security.AllPermission;
};

The bootstrap check failed.

While when I add something like the following:
grant codeBase "file: /user.home/elasticsearch-6.5.1/-",
principal * *
{
permission java.security.AllPermission;
};

The bootstrap passed. Why? Since actually I don't specify any principal.

I feel reluctant to help you disabling all security on elasticsearch. I don't think anybody should do this.

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