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

Improve serial number generation mechanism for keytool -gencert

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 13
    • None
    • security-libs
    • None

      keytool -gencert currently uses java.util.Random to generate unique serial numbers for certificates. A more uniquely secure mechanism using java.security.SecureRandom is desirable, even though keytool -gencert is generally only used for generating test certificates.

            weijun Weijun Wang
            mullan Sean Mullan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: