Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8257720

Improve "keytool -printcert -jarfile" output

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • None
    • security-libs
    • None

      1. Remove "Signature:" from output. It is printing information about the certificates, not the signature.

      2. When there is a warning for a certificate it would be useful to print out which Signer it applies to. For example, change:

      "The certificate #3 of 3 uses the SHA1withRSA signature algorithm ..."

      to:

      "The certificate #3 of 3 of Signer #1 uses the SHA1withRSA signature algorithm ..."

      3. In the main output, the certificate # should be printed out so you can more easily find which certificate the warning applies to, for ex:

      Signer #1:
        
      Certificate #1:

            hchao Haimay Chao
            mullan Sean Mullan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: