• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

secure web services - certificate problem.

Jeremy Botha
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, all.

First, a preamble. All I know of webservices I've learned in the past two weeks of handover from someone who was leaving my company as I joined.

Application environment: JBoss 3.2. something, using SOAP, JAX and SAAJ (and probably a whole lot of stuff I can't remember) based on the Sun secure webservices project.

Now, I have everything set up, and theoretically I'm communicating between my test classes and my test web service.

The problem I now have is that the sun provided server and client certificates have expired, and I cannot regenerate them.

The first method I tried was via keytool, first generating a certificate, self-signing it and then exporting this into a trusted keystore. However, the error I got back from the webservice was that the certificates were not X509V3 certs.

Next, I used openssl to generate certificates and import these into pcks12 keystores, reconfigured my system to specify a keystore type of pcks12, and redeployed. However, I now get an error saying the private key for the specified certificates does not exist.

Does *ANYONE* know how the hell Sun created their client and server keystores for their example applications in the Web Services developer pack? I'm tearing my hair out on this side.

thanks for taking the time to read.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic