Help with importing a webservice over SSL

I am trying to import a web service into Centrasite that uses SSL and get the following error:

http-53307-Processor25, handling exception: No trusted certificate found

I know that means that tomcat doesn’t trust the cert the web service is using, but it actually doesn’t trust any certs because it can’t find the truststore:

setting up default SSLSocketFactory
use default SunJSSE impl class:
class is loaded
keyStore is : c:\cacerts
keyStore type is : jks
keyStore provider is : 
init keystore
init keymanager of type SunX509
trustStore is: No File Available, using empty keystore.
trustStore type is : jks
trustStore provider is : 
init truststore
init context
trigger seeding of SecureRandom
done seeding SecureRandom
instantiated an instance of class

I’ve tried moving the cacerts file to various locations, including making sure it is in the jre\lib\security folder…and no luck. Does anyone have suggestions? I’ve already tried specifying the truststore using the jvm parameter 

with no luck.

I appreciate your time.

Matt Hartman

I have run into a case where CentraSite needs to trust the WSDL provider site via SSL. So, I need to tell centrasite to trust the site in order to attach WSDL successfully via URL

Try this out…
C:\Documents and Settings\All Users\Application Data\Software AG\Tomcat\cp8.0\bin\SAGCTP80.exe

NOTE: the JKS used in the Tomcat application server is not relevant for the WSDL import, it is for the CentraSite Control SSL access.

C:\Documents and Settings\All Users\Application Data\Software AG\Tomcat\cp8.0\conf\server.xml


I’m facing similar issue.
I developed a code which communicates to a web service through SSL certificate (.pem file).
My implementation is working fine with Tomcat 5.5. But I’m facing issue with Tomcat 4.1 server. It was throwing- No trusted certificate found

I checked in the keystore, the related certificate was available. I configured SSL connectivity in server.xml. Even then I’m facing this issue.
Kindly suggest what might be wrong. Please let us know for any further clarifications needed.

Thanks in Advance.