cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to enable SSL for Solr 6.3 search services

SoumyaaK
Champ in-the-making
Champ in-the-making

When trying to enable SSL for Solr 6.3 search services based on the instructions given in the following link, the Solr search services are not coming up and not prompting "Happy Searching" :

https://hub.alfresco.com/t5/alfresco-content-services-blog/using-ssl-with-alfresco-search-services-a...

For e.g.

  1. ) Copied “ssl.repo.client.keystore” and “ssl.repo.client.truststore” files supplied as part of Solr 6.3 zip from “E:\WCMProduct\alfresco-search-services-1.1.0\alfresco-search-services\solrhome\alfresco\conf” folder to “E:\WCMProduct\alfresco-search-services-1.1.0\alfresco-search-services\solrhome\keystore\” folder.

2.) Enabled below properties in E:\WCMProduct\alfresco-search-services-1.1.0\alfresco-search-services\solr.in.cmd file :

set SOLR_SSL_KEY_STORE=E:\WCMProduct\alfresco-search-services-1.1.0\alfresco-search-services\solrhome\keystore\ssl.repo.client.keystore

set SOLR_SSL_KEY_STORE_PASSWORD=kT9X6oe68t     

set SOLR_SSL_TRUST_STORE=E:\WCMProduct\alfresco-search-services-1.1.0\alfresco-search-services\solrhome\keystore\ssl.repo.client.truststore     

set SOLR_SSL_TRUST_STORE_PASSWORD=kT9X6oe68t     

set SOLR_SSL_NEED_CLIENT_AUTH=true    

set SOLR_SSL_WANT_CLIENT_AUTH=false

        3.) Started Solr using command : Solr Start -p 8983.

Alternatively, we also followed the instruction in the URL below but no luck :

https://solr.apache.org/guide/6_6/enabling-ssl.html

But post bringing up the Solr service, search is not working and prompting below error on command prompt on turning the verbose on :

ps://localhost:8983: java.security.NoSuchAlgorithmException: Error constructing
implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.S
SLContextImpl$DefaultSSLContext)
INFO - 2022-11-01 17:15:21.793; org.apache.http.impl.client.DefaultRequestDirec
tor; Retrying connect to {s}->https://localhost:8983
INFO - 2022-11-01 17:15:21.793; org.apache.http.impl.client.DefaultRequestDirec
tor; I/O exception (java.net.SocketException) caught when connecting to {s}->htt
ps://localhost:8983: java.security.NoSuchAlgorithmException: Error constructing
implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.S
SLContextImpl$DefaultSSLContext)
INFO - 2022-11-01 17:15:21.793; org.apache.http.impl.client.DefaultRequestDirec
tor; Retrying connect to {s}->https://localhost:8983
INFO - 2022-11-01 17:15:21.793; org.apache.http.impl.client.DefaultRequestDirec
tor; I/O exception (java.net.SocketException) caught when connecting to {s}->htt
ps://localhost:8983: java.security.NoSuchAlgorithmException: Error constructing
implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.S
SLContextImpl$DefaultSSLContext)
INFO - 2022-11-01 17:15:21.793; org.apache.http.impl.client.DefaultRequestDirec
tor; Retrying connect to {s}->https://localhost:8983
INFO - 2022-11-01 17:15:23.802; org.apache.http.impl.client.DefaultRequestDirec
tor; I/O exception (java.net.SocketException) caught when connecting to {s}->htt
ps://localhost:8983: java.security.NoSuchAlgorithmException: Error constructing
implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.S
SLContextImpl$DefaultSSLContext)
INFO - 2022-11-01 17:15:23.802; org.apache.http.impl.client.DefaultRequestDirec
tor; Retrying connect to {s}->https://localhost:8983
INFO - 2022-11-01 17:15:23.802; org.apache.http.impl.client.DefaultRequestDirec
tor; I/O exception (java.net.SocketException) caught when connecting to {s}->htt
ps://localhost:8983: java.security.NoSuchAlgorithmException: Error constructing
implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.S
SLContextImpl$DefaultSSLContext)
INFO - 2022-11-01 17:15:23.802; org.apache.http.impl.client.DefaultRequestDirec
tor; Retrying connect to {s}->https://localhost:8983
INFO - 2022-11-01 17:15:23.802; org.apache.http.impl.client.DefaultRequestDirec
tor; I/O exception (java.net.SocketException) caught when connecting to {s}->htt
ps://localhost:8983: java.security.NoSuchAlgorithmException: Error constructing
implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.S
SLContextImpl$DefaultSSLContext)
INFO - 2022-11-01 17:15:23.802; org.apache.http.impl.client.DefaultRequestDirec
tor; Retrying connect to {s}->https://localhost:8983
INFO - 2022-11-01 17:15:25.810; org.apache.http.impl.client.DefaultRequestDirec
tor; I/O exception (java.net.SocketException) caught when connecting to {s}->htt
ps://localhost:8983: java.security.NoSuchAlgorithmException: Error constructing
implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.S
SLContextImpl$DefaultSSLContext)
INFO - 2022-11-01 17:15:25.810; org.apache.http.impl.client.DefaultRequestDirec
tor; Retrying connect to {s}->https://localhost:8983
INFO - 2022-11-01 17:15:25.810; org.apache.http.impl.client.DefaultRequestDirec
tor; I/O exception (java.net.SocketException) caught when connecting to {s}->htt
ps://localhost:8983: java.security.NoSuchAlgorithmException: Error constructing
implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.S
SLContextImpl$DefaultSSLContext)
INFO - 2022-11-01 17:15:25.810; org.apache.http.impl.client.DefaultRequestDirec
tor; Retrying connect to {s}->https://localhost:8983
INFO - 2022-11-01 17:15:25.810; org.apache.http.impl.client.DefaultRequestDirec
tor; I/O exception (java.net.SocketException) caught when connecting to {s}->htt
ps://localhost:8983: java.security.NoSuchAlgorithmException: Error constructing
implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.S
SLContextImpl$DefaultSSLContext)
INFO - 2022-11-01 17:15:25.810; org.apache.http.impl.client.DefaultRequestDirec
tor; Retrying connect to {s}->https://localhost:8983

ERROR: Solr at https://localhost:8983/solr did not come online within 30 seconds
!

Could you please suggest if any other instructions need to be followed?



0 REPLIES 0