• Post Reply Bookmark Topic Watch Topic
  • New Topic

Getting a client certificate in JSDK2.0

 
calvin ho
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone know how to fetch a client certificate with JSDK2.0?
I've tried
java.security.cert.X509Certificate cert = req.getAttribute("javax.servlet.request.X509Certificate");
but it doesn't work. Also, a X509Cert class is bundled with my IDE, and I've tried
sun.security.x509.X509Cert cert = req.getAttribute("javax.servlet.request.X509Certificate");
and it fails to work also. Should I modify the attribute string? or fetching a client certificate is not fully supported in jsdk2.0? Pls help...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!