I'm getting an error in the java log.
Caused by: java.security.AccessControlException: access denied ("java.io.FilePermission" "/usr/share/elasticsearch/config/certs/elastic-node-tls-ca.p12" "read")
Checking the permissions it looks like the elasticsearch group has read access. The file is owned by root. What should I change to allow elasticsearch to have access to it and keep it secure.
Copy the applicable .p12 file into a directory within the Elasticsearch configuration directory on each node.
Therefore, the problem is that /usr/share/elasticsearch/config/certs/elastic-node-tls-ca.p12 is not under /etc/elasticsearch . Either change -Des.path.conf to /usr/share/elasticsearch/config or move elastic-node-tls-ca.p12 under whatever path es.path.conf points to.
This is a security feature to confine the java process under a path jail.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.