File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes SSL Certificate Excetion Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "SSL Certificate Excetion" Watch "SSL Certificate Excetion" New topic
Author

SSL Certificate Excetion

Amit Goda
Ranch Hand

Joined: Jan 21, 2012
Posts: 37

Hello Everyone,

I have created some client classes based on a WSDL. Using this client classes i have created a class to access web service. When i run this class to access web service its giving me an exception regarding the missing SSL certificate in my JRE. SO can anyone tell me how do i resolve the error. I googled it out but couldn't find satisfactory answer. I am getting the following exception




Thank you!


AMiT
Meghana Reddy
Ranch Hand

Joined: Jan 29, 2002
Posts: 76
It apparently is not able to find the path to the location where the cert is installed. How did you start your client?

Did you pass the keystore location as a java system property?


Meghana Reddy
Amit Goda
Ranch Hand

Joined: Jan 21, 2012
Posts: 37

Thank you for your reply. I used the InstallCert.java class and was able to generate the necessary certificate. Here is the link for the class.

The certificate were created and my program ran.

Cheers!!!
 
 
subject: SSL Certificate Excetion
 
Similar Threads
Not able to add certificate in keystore
http://xml.apache.org/axis/}stackTrace:No such operation 'getStandardPackageList_VB' exception
accessing web service over ssl
SSL Web Service Client
A problem with a AXIS client.