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

cancel
Showing results for 
Search instead for 
Did you mean: 
faxeur1986_6249
Member II

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

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

 

 

2 Replies
angelborroy
Alfresco Employee

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

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

Software Engineer in Alfresco Search Team.
faxeur1986_6249
Member II

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

effectively, I use jdk-11.0.7

What version of java do you recommend  ?