This discussion is archived
0 Replies Latest reply: Apr 12, 2012 2:18 AM by 929970 RSS

configuring use of clinet certificates for jax web services  configuring u

929970 Newbie
Currently Being Moderated
Hello dear people,

I have a very simple jax web service under glassfish v.2.1 and I want to secure it using mutual authentication. I could configure using server certificates but I have problems with configuring the server to ask client certificates. The problem is that the clients are not asked to provide a valid client certificate to use the service. The clients can easily use the service without having a certificate.
Can anyone tell me what should I do to have this?

I got the example code from http://java.net/projects/javaeetutorial/downloads and the sample code that I used is in the folder : javaeetutorial5/examples/jaxws/helloservice-clientcert

Best regards,
Arash.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points