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

Certificate returns null Subject Alternative Name if it is an X400Address type

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 7
    • Fix Version/s: 9
    • Component/s: security-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b64
    • CPU:
      x86
    • OS:
      windows_7

      Backports

        Description

        FULL PRODUCT VERSION :


        ADDITIONAL OS VERSION INFORMATION :
        Windows, Linux

        A DESCRIPTION OF THE PROBLEM :
        If Certificate has an X400Address type subject alternative name:

        X509CertImpl.getSubjectAlternativeNames(certificate) method throws CertificateParsingException caused by java.io.IOException: Unrecognized GeneralName tag, (3)

        and

        certificate.getSubjectAlternativeNameExtension() method returns NULL.

        These exceptions caused by GeneralName.java, because constructor does not handle GeneralNameInterface.NAME_X400 (Tag=3).



        REPRODUCIBILITY :
        This bug can be reproduced always.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  juh Jason Uh (Inactive)
                  Reporter:
                  coffeys Sean Coffey
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported: