aspose 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


Win a copy of Spring in Action this week in the Spring forum!
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!!!
 
Don't get me started about those stupid light bulbs.
 
subject: SSL Certificate Excetion