The client will only send it's certificate if the server has requested it. This is something you need to configure in your server, not Java.
Joined: Feb 12, 2007
The request goes trough firewall. The firewall asks always for the certificate. If there is no certificate request goes trough. If there is certificate it will be validated.
I need to configure my java cleint that it does not send the certificate - just to say "there is no certificate"
Such configuration is possible for browser.
Joined: Aug 05, 2005
So the firewall is requesting a certificate but is happy to continue if the client doesn't have one, but in your original post you say that the client does have a certificate. Your server must be requesting a certificate (otherwise the client wouldn't send it), so I don't see what the problem is. You either need to configure your server not to request a certificate or configure it to be happy if no certificate is available (if that is possible).