A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Refactoring for Software Design Smells: Managing Technical Debt
this week in the
OO, Patterns, UML and Refactoring
To acquire client certificate
Joined: Sep 15, 2004
Sep 01, 2008 03:44:00
I have a web service which I have made secure. The client and theservice go though a 2-way SSL handshake before communicating with each other.
At the server side,
When I try httpReq.isSecure(), I get "true"
When I try httpReq.getAttribute("javax.net.ssl.cipher_suite"), I get "SSL_RSA_WITH_RC4_128_MD5"
But, when I try httpReq.getAttribute("javax.servlet.request.X509Certificate"), I get "Null".
When I print httpReq.getAttributeNames(), I dont see this attribute as well.
Why is this so? What could be the error? How should I go about getting the certificate?
Regards,<br />Mani<br />SCJP 1.4 (95%)<br />SCWCD 1.4 (94%)
Have you checked out
subject: To acquire client certificate
doubt in j2ee authentication mechanisms [CLIENT_CERT]
regarding signature algorithm??
Java service and c# client https
browser sending certificates
SSL, AXIS, Web Service
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015