[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

6.4

Liferay+Apache Tomcat+SSL+CA certificate [CIPHERS PROBLEM]

Asked by fysgeo in Apache Web Server, Secure Socket Layer (SSL) & HTTPS

Tags: Liferay, Apache, Tomcat, SSL, CIPHERS

Hi 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.SSLException: No available certificate or key corresponds to the SSL cipher suites which are enabled."

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" address="82.103.132.56" acceptCount="100" scheme="https" secure="true" ciphers="TLS_KRB5_WITH_RC4_128_MD5,TLS_KRB5_WITH_3DES_EDE_CBC_MD5,
TLS_KRB5_WITH_DES_CBC_MD5,TLS_KRB5_EXPORT_WITH_RC4_40_MD5,
TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5" clientAuth="false" sslProtocol="TLS"
keystoreFile="/tomcat-ssl/my.kdb" keystorePass="changeit" keystoreType="JKS"/>



The following is the catalina log:

Aug 12, 2009 11:52:21 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
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.6.0.14/jre/lib/amd64/server:/usr/lib/jvm/j
ava-6-sun-1.6.0.14/jre/lib/amd64:/usr/lib/jvm/java-6-sun-1.6.0.14/jre/../lib/amd64:/usr/java/packages/lib/amd64:/lib:/usr/lib
Aug 12, 2009 11:52:31 AM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-82.103.132.56-443
Aug 12, 2009 11:52:31 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 23558 ms
Aug 12, 2009 11:52:34 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Aug 12, 2009 11:52:34 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.27
Aug 12, 2009 11:52:35 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Aug 12, 2009 11:59:32 AM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-82.103.132.56-443
Aug 12, 2009 11:59:32 AM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Aug 12, 2009 11:59:33 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 422046 ms
Aug 12, 2009 11:59:33 AM org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocket
SEVERE: Endpoint [SSL: ServerSocket[addr=/82.103.132.56,port=0,localport=443]] ignored exception: java.net.SocketException: SSL handshake errorjavax.net.ssl.SSLException: No available certificate or key corr
esponds to the SSL cipher suites which are enabled.
java.net.SocketException: SSL handshake errorjavax.net.ssl.SSLException: No available certificate or key corresponds to the SSL cipher suites which are enabled.
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.acceptSocket(JSSESocketFactory.java:114)
at org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:408)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:71)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:619)
Aug 12, 2009 11:59:33 AM org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocket
WARNING: Reinitializing ServerSocket
Aug 12, 2009 11:59:33 AM org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocket
SEVERE: Endpoint [SSL: ServerSocket[addr=/82.103.132.56,port=0,localport=443]] ignored exception: java.net.SocketException: SSL handshake errorjavax.net.ssl.SSLException: No available certificate or key corr
esponds to the SSL cipher suites which are enabled.
java.net.SocketException: SSL handshake errorjavax.net.ssl.SSLException: No available certificate or key corresponds to the SSL cipher suites which are enabled.
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.acceptSocket(JSSESocketFactory.java:114)
at org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:408)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:71)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:619)
....
and the same error is repeated again and again (crash)
...


Do you have any suggestions? If yeah please let me know!
Thanks in advance!
 
Loading Advertisement...
 
[+][-]08/13/09 01:34 AM, ID: 25086311Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zones: Apache Web Server, Secure Socket Layer (SSL) & HTTPS
Tags: Liferay, Apache, Tomcat, SSL, CIPHERS
Sign Up Now!
Solution Provided By: fysgeo
Participating Experts: 0
Solution Grade: A
 
 
Loading Advertisement...
20091111-EE-VQP-89 - Hierarchy / EE_QW_3_20080625