Simple CSR generation for Apache/Tomcat on Windows

Under the KISS method generating Apache/Tomcat certificate requests (CSRs) under Windows can be a pain if you don’t do it that often. Below is a sample batch script to automatically generate the certificates for you. echo off REM building up the variables set myFQDN=%COMPUTERNAME%.liquidobject.com set myFileBase=%COMPUTERNAME%_liquidobject.com set myJavaPath=C:\jdk1.6.0_14\bin\ set myOutputPath=C:\ssl_keys\ set myKeySize=2048 set myOrganization=OU=My Department, …