• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Axis with invalid keystore format

 
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!