RE: How to use solrJ: Self-signed cert SSL + basic auth.

2011-09-02 Thread Sky USC
Pwd); ((CommonsHttpSolrServer) server).getHttpClient().getState().setCredentials(new AuthScope(solrUrl.getHost(), 443, AuthScope.ANY_REALM), defaultcreds); } > From: sky...@hotmail.com > To: solr-user@lucene.apache.org > Subject: How to use solrJ: Self-signe

How to use solrJ: Self-signed cert SSL + basic auth.

2011-09-02 Thread Sky
I have solr 1.4.1 set up with following additions: 1. Basic authentication 2. SSL using self signed certificate How do I use solrj to connect to this server? Thanks! - sky

How to use solrJ: Self-signed cert SSL + basic auth.

2011-09-02 Thread Sky USC
I have solr 1.4.1 set up with following additions: 1. Basic authentication 2. SSL using self signed certificate How do I use solrj to connect to this server? I think the solution might reside in using HttpClient - but I cant figure out how. Any help will be appreciated. Thanks! - sky