I installed solr 5.4.1 and java 1.8 on its own linux server and used the install_solr_service.sh file to install and setup solr. At this point I was able to start the process and access the dashboard from a browser. After shutting down solr I then attempted to enable SSL via the Enabling SSL <https://lucene.apache.org/solr/guide/6_6/enabling-ssl.html> page using self-signed certificates. But I am unable to start the process. Instead I see the following in the solr.log file:
WARN: (main) AbstractLifeCycle FAILED SslContextFactory@...(etc/solr-ssl.keystore.jks,) : java.io.FileNotFoundException: /opt/solr-5.4.1/server (Is a directory) java.io.FileNotFoundException: /opt/solr-5.4.1/server (Is a directory) at java.io.FileInputStream.open0(Native Method) at java.io.FileInputStream.open(FileInputStream.java:195) ... WARN: (main) AbstractLifeCycle FAILED org.eclipse.jetty.server.Server@... java.io.FileNotFoundException: /opt/solr-5.4.1/server (Is a directory) java.io.FileNotFoundException: /opt/solr-5.4.1/server (Is a directory) at java.io.FileInputStream.open0(Native Method) at java.io.FileInputStream.open(FileInputStream.java:195) The above jks is in the etc folder (/opt/solr-5.4.1/server/etc) and the permissions are 644. The settings in the /etc/default/solr.in.sh file are as follows: SOLR_SSL_KEY_STORE=etc/solr-ssl.keystore.jks SOLR_SSL_KEY_STORE_PASSWORD=... SOLR_SSL_TRUS_STORE=etc/solr-ssl.keystore.jks SOLR_SSL_TRUST_STORE_PASSWORD=... SOLR_SSL_NEED_CLIENT_AUTH=false SOLR_SSL_WANT_CLIENT_AUTH=false I also tried the absolute path to the jks file (/opt/solr-5.4.1/server/etc/solr-ssl.keystore.jks) and with and without these two additional variables; to no avail: SOLR_SSL_KEY_STORE_TYPE=JKS SOLR_SSL_TRUST_STORE_TYPE=JKS I then changed the permissions to the jks file to 666, with slightly different but similar results: WARN: (main) AbstractLifeCycle FAILED SslContextFactory@...(/opt/solr-5.4.1/server/etc/solr-ssl.keystore.jks,) : java.io.FileNotFoundException: /opt/solr-5.4.1/server (Is a directory) java.io.FileNotFoundException: /opt/solr-5.4.1/server (Is a directory) at java.io.FileInputStream.open0(Native Method) at java.io.FileInputStream.open(FileInputStream.java:195) ... WARN: (main) AbstractLifeCycle FAILED SslConnectionFactory@...{SSL-http/1.1}: java.io.FileNotFoundException: /opt/solr-5.4.1/server (Is a directory) java.io.FileNotFoundException: /opt/solr-5.4.1/server (Is a directory) at java.io.FileInputStream.open0(Native Method) at java.io.FileInputStream.open(FileInputStream.java:195) ... WARN: (main) AbstractLifeCycle FAILED ServerConnector@...{SSL-http/1.1}{0.0.0.0:8982}: java.io.FileNotFoundException: /opt/solr-5.4.1/server (Is a directory) java.io.FileNotFoundException: /opt/solr-5.4.1/server (Is a directory) at java.io.FileInputStream.open0(Native Method) at java.io.FileInputStream.open(FileInputStream.java:195) ... WARN: (main) AbstractLifeCycle FAILED org.eclipse.jetty.server.Server@... java.io.FileNotFoundException: /opt/solr-5.4.1/server (Is a directory) java.io.FileNotFoundException: /opt/solr-5.4.1/server (Is a directory) at java.io.FileInputStream.open0(Native Method) at java.io.FileInputStream.open(FileInputStream.java:195) Anybody have any clues what I might be missing? -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html