aspose file tools*
The moose likes Web Services and the fly likes Axis with invalid keystore format 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 "Axis with invalid keystore format" Watch "Axis with invalid keystore format" New topic
Author

Axis with invalid keystore format

Rishi Yagnik
Ranch Hand

Joined: Jan 04, 2001
Posts: 84
Hi ,

I am getting following error while running wsdl client :


AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
faultSubcode:
faultString: Invalid keystore format
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace: java.io.IOException: Invalid keystore format
at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:612)
at java.security.KeyStore.load(KeyStore.java:652)
at org.jboss.axis.components.net.JSSE14SocketFactory.getStore(JSSE14SocketFactory.java:327)
at org.jboss.axis.components.net.JSSE14SocketFactory.getKeyStore(JSSE14SocketFactory.java:256)
at org.jboss.axis.components.net.JSSE14SocketFactory.getKeyManagers(JSSE14SocketFactory.java:201)
at org.jboss.axis.components.net.JSSE14SocketFactory.initFactory(JSSE14SocketFactory.java:169)
at org.jboss.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:127)
at org.jboss.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:166)
at org.jboss.axis.transport.http.HTTPSender.invoke(HTTPSender.java:122)
at org.jboss.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:73)
at org.jboss.axis.SimpleChain.doVisiting(SimpleChain.java:160)
at org.jboss.axis.SimpleChain.invoke(SimpleChain.java:123)
at org.jboss.axis.client.AxisClient.invoke(AxisClient.java:190)
at org.jboss.axis.client.Call.invokeEngine(Call.java:3095)
at org.jboss.axis.client.Call.invoke(Call.java:3080)
at org.jboss.axis.client.Call.invoke(Call.java:2668)
at org.jboss.axis.client.Call.invoke(Call.java:2577)
at org.jboss.axis.client.Call.invokeInternal(Call.java:1998)
at org.jboss.axis.client.Call.invoke(Call.java:1936)
at test.TestClient.main(TestClient.java:101)

I have genertared my certificate using following URL from javaranch only :

http://www.coderanch.com/t/221499/Web-Services/java/SSL-AXIS-Web-Service

Here is my java client having ssl property :

System.setProperty("javax.net.debug", "all");
System.setProperty("javax.net.ssl.keyStore", "c:\\test.cer");
System.setProperty("javax.net.ssl.keyStorePassword", "changeit");

Can someplease help what am I doing wrong here ,I am using jdk1.4 for generating certificate ...

Thanks for all the help ...

Will wait for positive reply ..

Rishi
Dave Els
Greenhorn

Joined: May 23, 2006
Posts: 1
Hi,

Sorry I do not have an answer but have the same problem.

Have you or any one else been able to solve this yet?

Thanks
 
Consider Paul's rocket mass heater.
 
subject: Axis with invalid keystore format