AnsweredAssumed Answered

SOLR Cert problem when searching

Question asked by mangar on Feb 7, 2014
I have SOLR up and running.  I can use the browser.p12 to get Chrome to work (Sort of, it must be Incognito Mode, but it does work) I have this url:

https://xx.xx.xx:8443/solr/alfresco/afts?q=@cm\:name:alfresco&indent=on

this works in chrome.

I need to get this working in my Java app.  so i do this: (Using appache httpclient

new HttpPost(url);


Just like I do all of my restfull API calls. and I get this:


javax.net.ssl.SSLException: hostname in certificate didn't match: <xxx.xxx.xx> != <alfresco repository>


How am I supposed to get this to work?
Is there an handy SOLR API that can me used?  Because looking through that JSON does not look like fun.


Outcomes