- For individual users
- Instant access to solutions
- Ask your tech questions
- Start your 30-day Free Trial
Main Topics
Browse All TopicsHi guys,
well let me explain my problem. I use Liferay 5.2.3 bundled with Apache Tomcat 5.5.27. The whole portal uses HTTPS and till today I was using a self-signed certificate without any problem. So now I got a Verisign CA certificate and I wanted to install it on my Tomcat.
I imported successfully using keytool the certification on keystore. Then I started Tomcat, I noticed that port 443 (that I use) was listening as it should but I couldn't access to the website. I got an error "SSL handshake errorjavax.net.ssl.SSLExce
This is the relevant part of my server.xml file (it is just the latest version...):
<!-- Define a SSL HTTP/1.1 Connector on port 8443 -->
<Connector port="443" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="true" disableUploadTimeout="true
TLS_KRB5_WITH_DES_CBC_MD5,
TLS_KRB5_EXPORT_WITH_DES_C
keystoreFile="/tomcat-ssl/
The following is the catalina log:
Aug 12, 2009 11:52:21 AM org.apache.catalina.core.A
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-6-sun-1.
ava-6-sun-1.6.0.14/jre/lib
Aug 12, 2009 11:52:31 AM org.apache.coyote.http11.H
INFO: Initializing Coyote HTTP/1.1 on http-82.103.132.56-443
Aug 12, 2009 11:52:31 AM org.apache.catalina.startu
INFO: Initialization processed in 23558 ms
Aug 12, 2009 11:52:34 AM org.apache.catalina.core.S
INFO: Starting service Catalina
Aug 12, 2009 11:52:34 AM org.apache.catalina.core.S
INFO: Starting Servlet Engine: Apache Tomcat/5.5.27
Aug 12, 2009 11:52:35 AM org.apache.catalina.core.S
INFO: XML validation disabled
Aug 12, 2009 11:59:32 AM org.apache.coyote.http11.H
INFO: Starting Coyote HTTP/1.1 on http-82.103.132.56-443
Aug 12, 2009 11:59:32 AM org.apache.catalina.storec
INFO: Find registry server-registry.xml at classpath resource
Aug 12, 2009 11:59:33 AM org.apache.catalina.startu
INFO: Server startup in 422046 ms
Aug 12, 2009 11:59:33 AM org.apache.tomcat.util.net
SEVERE: Endpoint [SSL: ServerSocket[addr=/82.103.
esponds to the SSL cipher suites which are enabled.
java.net.SocketException: SSL handshake errorjavax.net.ssl.SSLExce
at org.apache.tomcat.util.net
at org.apache.tomcat.util.net
at org.apache.tomcat.util.net
at org.apache.tomcat.util.thr
at java.lang.Thread.run(Threa
Aug 12, 2009 11:59:33 AM org.apache.tomcat.util.net
WARNING: Reinitializing ServerSocket
Aug 12, 2009 11:59:33 AM org.apache.tomcat.util.net
SEVERE: Endpoint [SSL: ServerSocket[addr=/82.103.
esponds to the SSL cipher suites which are enabled.
java.net.SocketException: SSL handshake errorjavax.net.ssl.SSLExce
at org.apache.tomcat.util.net
at org.apache.tomcat.util.net
at org.apache.tomcat.util.net
at org.apache.tomcat.util.thr
at java.lang.Thread.run(Threa
....
and the same error is repeated again and again (crash)
...
Do you have any suggestions? If yeah please let me know!
Thanks in advance!
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: fysgeoPosted on 2009-08-13 at 01:34:59ID: 25086311
Actually we found the solution for this problem. m/ssl-conv erter.html ) . That means that we created the .pfx file combining .crt and .key and we used this .pfx in our server.xml
" address="82.XXX.XXX.XXX mydomain.p fx"
We converted our certificate from PEM to PKCS12 (https://www.sslshopper.co
Our final server.xml:
<Connector port="443" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" disableUploadTimeout="true
acceptCount="100" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS"
keystoreType="PKCS12"
keystoreFile="/tomcat-ssl/
keystorePass="XXXXXXXXX"/>
Now it works fine!