How to use generated certificates with tomcat