So, attached is a quick dirty script I wrote to see if I can connect to an Apache Tomcat instance over HTTPS. This may be useful in the context of a CAS server deployment where ticket validation may fail as a result of an SSL certificate being absent or misconfigured in the keystore.
Using the script, you can validate that HTTPS is enabled and functional quickly without going though Tomcat's startup/shutdown process. Simply change the URL address, recompile and test.
Link to the github project: https://github.com/mmoayyed/java-keystore-ssl-test