File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "SSL Certificate Excetion" Watch "SSL Certificate Excetion" New topic

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!

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 class and was able to generate the necessary certificate. Here is the link for the class.

The certificate were created and my program ran.

I agree. Here's the link:
subject: SSL Certificate Excetion
Similar Threads
A problem with a AXIS client.
accessing web service over ssl
Not able to add certificate in keystore}stackTrace:No such operation 'getStandardPackageList_VB' exception
SSL Web Service Client