tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <>
Subject Re: Error: unable to find valid certification path to requested target
Date Thu, 07 Sep 2006 05:44:47 GMT
You need to import the top level cert into cacerts with -trustcacerts. 
Otherwise it is untrusted.

"Jeanna Geier" <> wrote in message 
Hi I'm having some problems connecting to a Slide client and would 
appreciate any help you could offer. I'm a newbie here, so please bear with 

Here's what I've done:

Created a keystore:
>keytool -genkey -alias tomcat -keyalg RSA
and entered info for certificate - name on certificate: localhost

Imported a Verisign trial certificate:
>keytool -import -alias root -keystore .keystore -trustcacerts -file 

Imported new certificate:
>keytool -import -alias tomcat -keystore .keystore -trustcacerts -file 

Exported certificate to file:
>keytool -export -alias tomcat -file server.crt

Imported the certificate into the Java security cacerts file:
>keytool -import -alias root -file server.crt -keystore 

>keytool -import -alias tomcat -file server.crt -keystore 

When I open Internet Explorer and log in: "https://localhost/slide", I get 
the certificate (as expected) and when I click <yes> I am able to log into 

When I attempt to log in using the Slide client, I run into problems.

[ Slide ] $ open https://localhost/slide/
connect https://localhost/slide/
Error: PKIX path building failed: unable to find 
valid certification path to requested target
[ Slide ] $

Any ideas? Most everywhere I looked suggested adding the certificate to the 
Java security store, which I've done, or verify that the name on the 
certificate is "localhost" (which it is) to fix the problem.... I've been 
working on this for almost a week with no luck, so any help you could give 
would be greatly appreciated!!

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message