11-09-2022 06:41 AM
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" :
For e.g.
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?
Explore our Alfresco products with the links below. Use labels to filter content by product module.