On Oct 8, 2014, at 12:25, Xuelei Fan <[email protected]> wrote: > On 10/8/2014 12:21 PM, Wang Weijun wrote: >> There are two keystores here. -keystore points to user's keystore that >> keytool will save into. cacerts is a read-only keystore that is used to find >> trusted certs. > Got it. > > Is it possible to add an optional argument for the "-trustcacerts" > option? If no argument, use the cacerts; otherwise, use the specified > value.
Every keytool option either has an argument or not, so it you'd like it specified on the command line, a new option should be invented. Do you happen to know there are other cases where a user want to customize the location of cacerts? Thanks Max > > Xuelei
