Upon entering the page, your browser will warn you about some invalid certificate. That’s because you are using a self-sign certificate created in step 1 above.

To connect tomcat A to tomcat B via HTTPS

If you have a tomcat B that is offering some SOAP services via HTTPS but it is using self-sign certificate, you’ll get the following error when your servlet from tomcat A is trying to connect to tomcat B: