Getting Started with Tomcat 7 on Windows
CA certs to Java / Tomcat
example of adding a cert to the CA store
Note: keytool is located on the JRE bin folder
keytool -import -alias mycaserver.mydomain.com -keystore "C:\Program Files\Java\jre1.8.0_151\lib\security\cacerts" -storepass changeit -file C:\X-Support\Certificates\mycaserver-root-Base64.cer
Keystores most common commands
CVP Security Guide (uses a lot of keystore commands
Environment Variables
- Download JRE 1.6 or JDK 1.6
- Set the environment Variable JAVA_HOME if using a JDK
- Set the environment variable JRE_HOME if using the JRE
Example:
JRE_HOME=C:\Program Files\Java\jre6
- Download Tomcat 7 and put it to a folder of your choice.
- Run Startup.bat (located in the /bin folder) to start up tomcat manually
- To install as a Windows service, run the batch file service.bat and then update parameters as required by executable /bin/tomcat7w.exe.
Example:
service.bat install
Tomcat with IIS redirector
http://www.techstacks.com/howto/iis_and_isapi_redirect.html
https://ashrafhossain.wordpress.com/2010/09/20/how-to-configure-iis-7-and-tomcat-redirection-on-windows-server-2008-64-bit/
How to install tomcat on Ubuntu
Linux Tips
- Command to run tomcat in foreground - ./catalina.sh run
SQL Security
https://docs.microsoft.com/en-us/sql/connect/jdbc/understanding-ssl-support?view=sql-server-ver15
https://tomcat.apache.org/tomcat-7.0-doc/jndi-resources-howto.html
https://bst.cloudapps.cisco.com/bugsearch/bug/CSCvg20831/?rfs=iqvred