On 27/07/2016 10:45, Wang Weijun wrote:
:
I suggest we create a new special -keystore value "<<CACERTS>>" which acts like
an alias of the cacerts file. Creating a new option means we have to document its relation with the
existing -keystore option. The new name can also work with the -importkeystore command.
Like this:
keytool -list -keystore <<CACERTS>>
The name is inspired by <<ALL FILES>> in FilePermission. I'm open to other
styles.
I assume you mean to quote this as this will otherwise cause redirection
when used on the command line or in scripts.
In any case, it does seem a bit unusual to me. I would assume something
like `keytool -list -cacerts` would be easier. I realize it would mean
disallowing its usage with -keystore.
-Alan