JDK-8148559 : Keytool output is incorrect in jdk6u111
  • Type: Bug
  • Component: security-libs
  • Sub-Component: java.security
  • Affected Version: 6u111
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-01-29
  • Updated: 2016-04-29
  • Resolved: 2016-02-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6u121 b01Fixed
Related Reports
Relates :  
Description
It was found that the output of keytool command was not correct with 
jdk6u111(201601CPU). It looks like it is caused by the fix of BugID 8139084. 
In JDK7, it seems it is fixed with BugID 7017734.

Symptom:
The output with the command below is incorrect.
keytool -keystore keyStr.jks -storepass changeit -storetype jks -list -v

Wrong
------------------------
...
���������������������������������������:
         MD5:  ............................
         SHA1: ............................
         ���������������������������: ............................
         ���������������: SHA256withRSA
...
------------------------

Correct
------------------------
...
���������������������������������������:
         MD5:  ............................
         SHA1: ............................
         SHA256: ............................
         ���������������������������: SHA256withRSA
         ���������������: 3
...
------------------------