RFR 8162739: Create new keytool option to access cacerts file

Sean Mullan sean.mullan at oracle.com
Tue Aug 9 19:19:21 UTC 2016


- src/java.base/share/classes/sun/security/tools/keytool/Resources.java

131                 "operates on the cacerts keystore"}, // -cacerts

"operates" sounds a little odd. How about "access the cacerts keystore" 
(so it is consistent with the warning below).

133                 "Warning: use -cacerts option to access cacerts 
keystore"},

Warning: use the -cacerts option to access the cacerts keystore

--Sean

On 08/08/2016 09:46 AM, Weijun Wang wrote:
> Please review the code changes at
>
>    http://cr.openjdk.java.net/~weijun/8162739/webrev.00/
>
> A new -cacerts option is added to keytool so there is no need to provide
> the full cacerts path on the command line. lib/security/cacerts is
> considered an implementation detail and subject to change.
>
> The conf/security/cacerts file in src/ is moved to lib/security/cacerts,
> which matches its destination path. A small change in make/ is needed.
>
> Thanks
> Max



More information about the security-dev mailing list