• Post Reply Bookmark Topic Watch Topic
  • New Topic

No trusted certificate found  RSS feed

 
Taco Fleur
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a Java class that talks over an SSL socket, and it all works fine when I run the class with a main()

But when I call the class from ColdFusion which is the language I NEED to call this class from I get the following error:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found

I have been working on this error for days now and tried many things, during my research I found some documentation that said I also needed to import the certificate for the ColdFusion engine, which I did. When I point the Java class to the Coldfusion keystore it all still runs fine with a main(), which tells me that it imported fine into the CF keystore.

I also thought of calling the class from another language, just so I could see if its a Java or ColdFusion issue, I downloaded the JavaReg tool to register the Class and try and call it via VBScript, but that just errors and wont even let me instantiate the Class, so I can't test that either.

I am running out of options and will be pulling my hair out soon ;-)
 
Taco Fleur
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What else can I check for to see whats different between running it from main() or calling the class from ColdFusion?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!