cancel
Showing results for 
Search instead for 
Did you mean: 

SSL Cert handshake timeout

ungawunga
Champ in-the-making
Champ in-the-making
Alfresco Community 4.0.e on Windows 2003 server
MySQL 5.5.27.3
MySQL Connector 5.1.22

I used the Windows installer to install Alfresco. The only deviation from the stock answers to the Advanced installation was to change the database driver settings:

db.driver=org.gjt.mm.mysql.Driver
db.name=alfresco
db.url=jdbc:mysql://localhost/alfresco?useUnicode=yes&characterEncoding=UTF-8

Solr settings in config, as set by the installer:
dir.root=C:/Alfresco/alf_data
index.subsystem.name=solr
dir.keystore=${dir.root}/keystore
solr.port.ssl=8443


Error message from catalina.log file:

WARNING: Exception getting SSL attributes
java.net.SocketException: SSL Cert handshake timeout
   at org.apache.tomcat.util.net.jsse.JSSESupport.handShake(JSSESupport.java:189)
   at org.apache.tomcat.util.net.jsse.JSSESupport.getPeerCertificateChain(JSSESupport.java:143)
   at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:1116)
   at org.apache.coyote.Request.action(Request.java:350)
   at org.apache.catalina.authenticator.SSLAuthenticator.authenticate(SSLAuthenticator.java:135)
   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:528)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
   at java.lang.Thread.run(Thread.java:722)


How do I fix this? Suggestions? I haven't changed any of the stock configuration other than the MySQL install. The Alfresco tables were created without problems when Tomcat was started and I browsed to the Admin page at localhost:8080/Alfresco.
2 REPLIES 2

ungawunga
Champ in-the-making
Champ in-the-making
BTW, both Solr and Alfresco are hosted in the same Tomcat6 instance.

I tried to regen the keys as suggested by this post, but it didn't help.

Still get the same error:

INFO: Starting Coyote HTTP/1.1 on http-8443
Oct 05, 2012 4:16:06 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 61908 ms
Oct 05, 2012 4:16:06 PM org.apache.coyote.http11.Http11Processor action
WARNING: Exception getting SSL attributes
java.net.SocketException: SSL Cert handshake timeout
   at org.apache.tomcat.util.net.jsse.JSSESupport.handShake(JSSESupport.java:189)
   at org.apache.tomcat.util.net.jsse.JSSESupport.getPeerCertificateChain(JSSESupport.java:143)
   at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:1116)
   at org.apache.coyote.Request.action(Request.java:350)
   at org.apache.catalina.authenticator.SSLAuthenticator.authenticate(SSLAuthenticator.java:135)
   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:528)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
   at java.lang.Thread.run(Thread.java:722)

ungawunga
Champ in-the-making
Champ in-the-making
Ok, this was "fixed" by also installing java using the exe installer. Makes no sense to me at all, as Java jdk1.7 was already installed and configured.