Can any on tell me how to access solr api using java class. i want to access https://localhost:8443/solr4/alfresco/afts?q=DOC_TYPE:UnindexedNode api using java class.but the problem is that when i am calling with java class its giving "javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No name matching localhost found".I tried all possible to resolve that. i added certificate in keystore that present in jdk and jre and when i just use a validator to validate then its giving "pkix path building failed: sun.security.provider.certpath.suncertpathbuilderexception: unable to find valid certification path to requested target" .i am using alfresco 5.0.
Asked
Active
Viewed 120 times
2 Answers
0
You can turn it off, go around it. http://docs.alfresco.com/4.2/tasks/running-without-ssl.html

Lista
- 2,186
- 1
- 15
- 18
-
i dont want disable ssl is there any other solution? – Sachin Singh Apr 12 '16 at 12:46
0
Check out how we connect to Solr in our Trackers. See the solr4-ssl profile in the solr4 pom. This also may help you: Alfresco Solr Trackers Showcase

Ahmed Owian
- 76
- 6