Quantcast
Viewing all articles
Browse latest Browse all 305

SOLR configurations for SSL communication?

Hi,

I have configured SSL in server.xml

<Connector port="8443" URIEncoding="UTF-8"
    			protocol="org.apache.coyote.http11.Http11Protocol"
    			SSLEnabled="true"
                        maxThreads="150"
                        scheme="https"
                        keyAlias="test"
	                keystoreFile="/opt/alfresco-community/test.jks"
	                keystorePass="pass123"
	                keystoreType="JKS"
 		 	secure="true" connectionTimeout="240000"
                        clientAuth="want"
                        sslProtocol="TLS"
                        allowUnsafeLegacyRenegotiation="true"
                        maxHttpHeaderSize="32768"
                        maxSavePostSize="-1"/>

I could access alfresco through https but solr has lot of errors. Is there any configuration required for solr to have an SSL communication?

here are solr errros:

INFORMATION: Server startup in55137 ms2016-04-2520:35:50,591  ERROR [solr.tracker.AbstractTracker][SolrTrackerScheduler_Worker-2] Model tracking failed
 javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
        at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
        at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949)
        at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302)
        at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296)
        at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1509)
        at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)
        at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
        at sun.security.ssl.Handshaker.process_record(Handshaker.java:914)
        at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)
        at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
        at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:747)
        at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:123)
        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
solr4

Viewing all articles
Browse latest Browse all 305

Trending Articles