aspose file tools
The moose likes Security and the fly likes unknown certificate error. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » Security
Reply Bookmark "unknown certificate error." Watch "unknown certificate error." New topic
Author

unknown certificate error.

shyam ramineni
Ranch Hand

Joined: Jul 08, 2005
Posts: 43
Hi,

I am trying to invoke a webservice which published on https://URL.
I have code a stand alone java program as a client.

I am getting javax.net.ssl.SSLHandshakeException : unknown certificate error.

Please let me know the solution for this.
I am having the Trust, and Key .jks files for the client from the server.
But not able add the certificate to cacerts file.

Thanks
shyam Ramineni


<a href="http://hyderabaditeducation.com" target="_blank" rel="nofollow">http://hyderabaditeducation.com</a>
James Swan
Ranch Hand

Joined: Jun 26, 2001
Posts: 403
You didn't post much detail of your code, but have you set any of the following system properties:


[ April 06, 2006: Message edited by: James Swan ]
shyam ramineni
Ranch Hand

Joined: Jul 08, 2005
Posts: 43
Hi,

Got the issue resolved.

I had to import the certificate file from the https:// location to my keystore.

Thanks
Shyam Ramineni
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: unknown certificate error.
 
Similar Threads
Unable to get security certificates from HTTPS Server
CA Certificates
Access HTTPS url in Applet
Failed to access the WSDL
Using multiple X509 certificates for different URLs