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

jarsigner will not show not-signed-by-alias warning if an intermediate cert is in this keystore

    XMLWordPrintable

    Details

      Description

      The jarsigner tool has a warning "This jar contains signed entries that are not signed by alias in this keystore" which should be shown when a signed entry's signer cert does not appear in this keystore. However, if the 3 following conditions satisfy this warning is NOT shown:

      1. signer has a cert chain
      2. end-entity cert is NOT in this keystore
      3. one of the intermediate CA certs is in this keystore

      This is a bug. The warning should only check the end-entity cert.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            weijun Weijun Wang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: