[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!

8.0

Unable to find valid Certification Path to Requested Target error received when launching tomcat web app via SSL

Asked by UnityPG in Apache Tomcat Application Server

Tags: Apache, Tomcat, 5.5.23, SSL configuration, unable to find valid certification path to requested target

I am trying to quickly implement SSL ability into our existing Apache Tomcat 5.5.23 installation (JDK 1.5.0_12 as base) and have gotten reasonably far but have run into a bit of a wall.

I can navigate to https://www.sslhost.com/webapp/ and get the index page and it shows the proper SSL cert attached, but when I try to launch the application (Electronic Medical Record), I am getting the following error:

Error Sending POST: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Details
=============================
[SOAPException: faultCode=Error Sending POST: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested targetURL:

I do not believe it is related directly to the EMR product but instead to perhaps the format of the cert I have from Network Solutions. I am using a PFX file for the keystore since this cert, so my server.xml looks like this:

    <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" keystorePass="password" keystoreFile="C:\Program Files\Apache Software Foundation\Tomcat 5.5\unitypg.pfx" />

I believe the error has to do with the fact that the certificate we received from Network Solutions had 3 other certs along with it: AddTrustExternalCARoot.crt, UTNAddTrustServer_CA.crt and NetworkSolutions_CA.crt.  I ran the following commands to get these chain certs into the cacerts file (which I presume is what the error is complaining about, I'm new to this):

keytool -import -trustcacerts -alias root -file C:\SSLCerts\AddTrustExternalCARoot.crt -keystore "C:\Program Files\Java\jdk1.5.0_12\jre\lib\security\cacerts"

keytool -import -trustcacerts -alias INTER -file C:\SSLCerts\UTNAddTrustServer_CA.crt -keystore "C:\Program Files\Java\jdk1.5.0_12\jre\lib\security\cacerts"

where I ran into a problem perhaps is with the third cert&

keytool -import -trustcacerts -alias INTER2 -file C:\SSLCerts\NetworkSolutions_CA.crt -keystore "C:\Program Files\Java\jdk1.5.0_12\jre\lib\security\cacerts"

No where I could find mentioned three certs. Just a root and an INTER. So what is the extra cert?

Is it right to think this is what is causing my error?
 
Loading Advertisement...
 
[+][-]09/03/08 01:37 AM, ID: 22375077Assisted Solution

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]09/03/08 05:22 AM, ID: 22376369Accepted 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

Zone: Apache Tomcat Application Server
Tags: Apache, Tomcat, 5.5.23, SSL configuration, unable to find valid certification path to requested target
Sign Up Now!
Solution Provided By: UnityPG
Participating Experts: 1
Solution Grade: A
 
 
Loading Advertisement...
20091021-EE-VQP-81 / EE_QW_2_20070628