Re: Collections unable to load after setting up SSL

2018-06-11 Thread Zheng Lin Edwin Yeo
Hi Chris, File permissions on /etc/solr-* ? - The permissions are set to full control for all users. Effective user-id of the process trying to connect to Solr? - I am connecting from the Solr Admin UI. I have set the Basic Authentication, and that the Basic Authentication is working on its own w

Re: Collections unable to load after setting up SSL

2018-06-11 Thread Christopher Schultz
Edwin, On 6/10/18 10:22 PM, Zheng Lin Edwin Yeo wrote: > I have found that we can't set it this way either, as we will get the below > error on "no valid keystore". > > set SOLR_SSL_KEY_STORE=/etc/solr-ssl.keystore.jks > set SOLR_SSL_TRUST_STORE=/etc/solr-ssl.keystore.jks > > Error: > java.lang.

Re: Collections unable to load after setting up SSL

2018-06-11 Thread Zheng Lin Edwin Yeo
Hi Vincenzo, Thanks for your reply. The original error of that t he collections that are with 2 replica are not able to be loaded. came from without the leading slash from the path. I also got the same error as the original when I specify the absolute path. Regards, Edwin On 11 June 2018 at 14:

Re: Collections unable to load after setting up SSL

2018-06-10 Thread Vincenzo D'Amore
Hi Edwin, I think you should specify the absolute path when setting the environment variables or remove the leading slash from the path. Ciao, Vincenzo > On 11 Jun 2018, at 04:22, Zheng Lin Edwin Yeo wrote: > > I have found that we can't set it this way either, as we will get the below > er

Re: Collections unable to load after setting up SSL

2018-06-10 Thread Zheng Lin Edwin Yeo
I have found that we can't set it this way either, as we will get the below error on "no valid keystore". set SOLR_SSL_KEY_STORE=/etc/solr-ssl.keystore.jks set SOLR_SSL_TRUST_STORE=/etc/solr-ssl.keystore.jks Error: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAcc

Re: Collections unable to load after setting up SSL

2018-06-09 Thread Zheng Lin Edwin Yeo
Hi Chris, I have deployed these files on the {SolrHome}\server\etc folder. Currently this is the setting of the path in edm.in.cmd. set SOLR_SSL_KEY_STORE=etc/solr-ssl.keystore.jks set SOLR_SSL_TRUST_STORE=etc/solr-ssl.keystore.jks For your meaning of absolute paths actually start with a slash,

Re: Collections unable to load after setting up SSL

2018-06-08 Thread Christopher Schultz
Edwin, On 6/8/18 12:02 PM, Zheng Lin Edwin Yeo wrote: > I followed the steps from > https://lucene.apache.org/solr/guide/7_3/enabling-ssl.html. > > 1) > > keytool -genkeypair -alias solr-ssl -keyalg RSA -keysize 2048 -keypass > secret -storepass secret -validity -keystore > solr-ssl.keystor

Re: Collections unable to load after setting up SSL

2018-06-08 Thread Zheng Lin Edwin Yeo
Hi Chris, I followed the steps from https://lucene.apache.org/solr/guide/7_3/enabling-ssl.html. 1) keytool -genkeypair -alias solr-ssl -keyalg RSA -keysize 2048 -keypass secret -storepass secret -validity -keystore solr-ssl.keystore.jks -ext SAN=DNS:localhost,IP:192.168.1.3,IP:127.0.0.1 -dn

Re: Collections unable to load after setting up SSL

2018-06-08 Thread Christopher Schultz
Edwin, On 6/7/18 11:11 PM, Zheng Lin Edwin Yeo wrote: > Hi, > > I am running SolrCloud on Solr 7.3.1 on External ZooKeeper 3.4.11, and I am > setting up the security aspect of Solr. > > After setting up the SSL based on the steps from > https://lucene.apache.org/solr/guide/7_3/enabling-ssl.html,

Collections unable to load after setting up SSL

2018-06-07 Thread Zheng Lin Edwin Yeo
Hi, I am running SolrCloud on Solr 7.3.1 on External ZooKeeper 3.4.11, and I am setting up the security aspect of Solr. After setting up the SSL based on the steps from https://lucene.apache.org/solr/guide/7_3/enabling-ssl.html, the collections that are with 2 replica are no longer able to be loa