cancel
Showing results for 
Search instead for 
Did you mean: 

Error when I use my own SSL generated certificates (Unsupported or unrecognized SSL message)

faxeur1986_6249
Champ in-the-making
Champ in-the-making

I try to install alfresco content service 6.2.2 manually on tomcat by using this docs: https://docs.alfresco.com/content-services/6.2/install/zip/tomcat/ but I have this error on tomcat startup: 

Caused by: javax.net.ssl.SSLException: Unsupported or unrecognized SSL message

I had using this link  https://docs.alfresco.com/search-services/latest/config/keys/ to generate my own ssl key.

I use alfresco-search-services-1.4.0.

You can see the error trace below:

ERROR [org.quartz.core.ErrorLogger] [SearchScheduler_Worker-4] Job (Solr.SolrWatcher threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.alfresco.error.AlfrescoRuntimeException: 05040042 Unsupported or unrecognized SSL message]
	at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
Caused by: org.alfresco.error.AlfrescoRuntimeException: 05040042 Unsupported or unrecognized SSL message
	at org.alfresco.repo.search.impl.solr.AbstractSolrAdminHTTPClient.getOperation(AbstractSolrAdminHTTPClient.java:96)
	at org.alfresco.repo.solr.SOLRAdminClient.executeAction(SOLRAdminClient.java:221)
	at org.alfresco.repo.solr.SOLRAdminClient$SolrTracker.pingSolr(SOLRAdminClient.java:333)
	at org.alfresco.repo.solr.SOLRWatcherJob.execute(SOLRWatcherJob.java:54)
	at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
	... 1 more
Caused by: javax.net.ssl.SSLException: Unsupported or unrecognized SSL message
	at java.base/sun.security.ssl.SSLSocketInputRecord.handleUnknownRecord(SSLSocketInputRecord.java:439)
	at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:184)
	at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:108)
	at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1144)
	at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1055)
	at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:395)
	at java.base/sun.security.ssl.SSLSocketImpl.ensureNegotiated(SSLSocketImpl.java:709)
	at java.base/sun.security.ssl.SSLSocketImpl$AppOutputStream.write(SSLSocketImpl.java:962)
	at java.base/java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:81)
	at java.base/java.io.BufferedOutputStream.flush(BufferedOutputStream.java:142)
	at org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:828)
	at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.flushRequestOutputStream(MultiThreadedHttpConnectionManager.java:1565)
	at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2116)
	at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096)
	at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
	at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
	at org.alfresco.repo.search.impl.solr.AbstractSolrAdminHTTPClient.getOperation(AbstractSolrAdminHTTPClient.java:73)
	... 5 more
3 REPLIES 3

angelborroy
Community Manager Community Manager
Community Manager

What JDK version are you using? This seems like a problem related with some Java 11 versions...

Hyland Developer Evangelist

effectively, I use jdk-11.0.7

What version of java do you recommend  ?

I Have the same error when I set solr.secureComms=https to update the ASS.1.4.x and start to use ASS.2.0.3 on ACS.6.2.2:

  • ERRORS "Failed to execute search" or "Job threw an unhandled exception"
  • Caused by "Unsupported or unrecognized SSL message"

I also used this version of JDK "openjdk-11.0.7" and I change it to "openjdk-11.0.1" to comply with supported platforms. 

Problem solved

I missed, the problem was not so simple. Only on a second start, started indexing and make transformations but the error returned at the finish. 

I keep trying

Getting started

Explore our Alfresco products with the links below. Use labels to filter content by product module.