在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.