-
Bug
-
Resolution: Fixed
-
P4
-
6u131, 7u121, 8u111, 9
-
b142
-
b145
-
generic
-
generic
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8185657 | 8u431 | Prasadarao Koppula | P4 | Resolved | Fixed | b01 |
"keytool -printcert" is supposed to print info about certificate which was used to sign a jar file. It says "Not a signed jar file" if one of disabled algorithms (see "jdk.jar.disabledAlgorithms" security property) was used for jar signing.
Please see attached signed jars:
signed-app-md2-rsa-2048.jar - signed with MD2withRSA
signed-app-md5-rsa-2048.jar - signed with MD5withRSA
The following command doesn't work with JDK 9 b142:
keytool -printcert -jarfile signed-app-md5-rsa-2048.jar
It would be better if "-printcert" command printed info about singers even if they use disabled algorithms.
Please see attached signed jars:
signed-app-md2-rsa-2048.jar - signed with MD2withRSA
signed-app-md5-rsa-2048.jar - signed with MD5withRSA
The following command doesn't work with JDK 9 b142:
keytool -printcert -jarfile signed-app-md5-rsa-2048.jar
It would be better if "-printcert" command printed info about singers even if they use disabled algorithms.
- backported by
-
JDK-8185657 keytool doesn't print certificate info if disabled algorithm was used for signing a jar
-
- Resolved
-
- relates to
-
JDK-8331391 Enhance the keytool code by invoking the buildTrustedCerts method for essential options
-
- Resolved
-