We ran into a similar problem trying to get our purchased SSL certificate to
work. The previous reply had some info about getting the keytool to work,
but we have a tutorial that should help you get SSL working from start to
finish. Hope it helps!
I'm not too sure what you mean by two-way SSL. But I'm assuming you mean
that:
1) You'd like Tomcat to run as a web server that supports SSL/HTTPS. To do
this, I'd suggest this tutorial:
http://blog.datajelly.com/company/blog/34-adding-ssl-to-tomcat.html