I also imported the p12 client certificate into the web browser and tried. it did not work.
I see it that tomcat itself is not able to load the certificate named with alias roopa here.
Where could i go wrong.?
I also tried to import these self signed client certificates into cacerts.jks .it loads all commercial CA certificates but not the self signed client certificates i created.
to work with tomcat the client certificates have to be
all the information i got from website show that these steps should be enough to make client authentication work.
You can very definitely use self-signed certs with Tomcat. I'm doing that myself.
I can't see anything immediately wrong with what you listed, but there is (as I understand it) an issue with HTTP itself in that for a given IP address, only one cert can be honored, even if ithe IP address supporting multiple hostnames (virtual hosts).
An IDE is no substitute for an Intelligent Developer.