I am trying to import a web service into Centrasite that uses SSL and get the following error:
http-53307-Processor25, handling exception: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: 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: com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl
class com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl 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 com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl
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
-Djavax.net.ssl.trustStore
with no luck.
I appreciate your time.
Matt Hartman
#CentraSite#webMethods#API-Management