REM Prior to Java 1.6 use -import instead of -importcert keytool -importcert -file "C:\temp\Thawte Code Signing CA.cer" -alias thawtecodesigningca -trustcacerts -keystore "%JRE64\lib\security\cacerts" keytool -importcert -file "C:\temp\Thawte Code Signing CA.cer" -alias thawtecodesigningca -trustcacerts -keystore "%JRE64\lib\security\cacerts"