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

keytool should be able to generate certreq and cert without subject name

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 7
    • 7
    • security-libs
    • None
    • b72
    • generic
    • generic

      A certificate's subject field is allowed to be empty if it has a subjectAlternativeName extension. keytool currently cannot generate a cert request or a cert without the subject field. The reason is that the subject field is determined at the -gekeypair time and never changed at -certreq or -gencert. Since the cert generated at -genkeypair is self-signed and a self-signed cert must have the subject field, we have no chance to specify the empty subject now.

            weijun Weijun Wang
            weijun Weijun Wang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: