RFR 8023197: Pre-configured command line options for keytool and jarsigner

Wang Weijun weijun.wang at oracle.com
Fri Jun 6 07:27:23 UTC 2014

Please review the code changes in


This enhancement allows you to put frequently used keytool/jarsigner options into a property file and use -conf to load it. Like this:

  # A Pre-configured options file
  keytool.all = -storepass:env PASS -keypass:env PASS -keystore ${user.dir}/.p12 -storetype pkcs12
  keytool.genkeypair = -keyalg rsa -keysize 2048 -sigalg SHA256withRSA -validity 365


More information about the security-dev mailing list