Hi Guys,
Hope you have good time working in Java.

In my development env things are working fine when I am calling a web service and I have both keystore and truststore files in development environment. Now for production access, I have received new .CER files. I have included the certificates in truststore file (.JKS) using command keytool -import -trustcacerts -file ca2.cer -keypass Pass-123 -keystore ..\mca_truststore.jks -store Pass-123 -alias sighkey

But I am still facing below issue
2013-11-20 15:01:04,042 INFO [HttpMethodDirector] I/O exception (org.apache.axis2.AxisFault) caught when processing request: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderE xception: unable to find valid certification path to requested target
2013-11-20 15:01:04,042 INFO [HttpMethodDirector] Retrying request
2013-11-20 15:01:04,389 INFO [HttpMethodDirector] I/O exception (org.apache.axis2.AxisFault) caught when processing request: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderE xception: unable to find valid certification path to requested target
2013-11-20 15:01:04,390 INFO [HttpMethodDirector] Retrying request

I have few questions
1. What the difference between keystore and truststore files?
2. Where .CER files need to import keystore or truststore?
3. I have tried import the .CER files in truststore, I am still facing above exception
4. I have tried import the .CER files in keystore, but there aren't getting import, facing "Invalid keystore format" exception

Please suggest.