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

Escaped char. can not be set to CSR correctly by keytool in jdk5u22

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b01
    • CPU:
      x86
    • OS:
      windows_xp
    • Verification:
      Verified

      Backports

        Description

        When a user tries to set escaped char. to CSR by keytool,
        the char. does not seem set correctly.

        CONFIGURATION:
        JDK : 5u22 (32bits)
        OS : windowsXP(SP2, Japanese, x86)

        REPRODUCE :
        1.Compile the attached java program
        2. Invoke "java Main.java"

        EXPECTED :
        .....
        Subject(RFC2253): CN=\\\\a
        Subject(pretty): CN="\\\\a"
        Subject(raw): 30:0e:31:0c:30:0a:06:03:55:04:03:0c:03:5c:5c:61
        CSR(raw): 30:82:02:13:30:82:01:d1:02:01:00:30:0e:31:0c:30:0a:06:03:55:04:03:0c:03:5c:5c:61:30:.....
                                                                                          ^^^^^^^^^
                                                                                          Correct
        ACTUAL :
        .....
        Subject(RFC2253): CN=\\\\a
        Subject(pretty): CN=\\a
        Subject(raw): 30:0e:31:0c:30:0a:06:03:55:04:03:0c:03:5c:5c:61
        CSR(raw): 30:82:02:12:30:82:01:d0:02:01:00:30:0d:31:0b:30:09:06:03:55:04:03:0c:02:5c:61:30:.....
                                                                                          ^^^^^
                                                                                          incorrect

        FREQUENCY :
        This problem can be always reproducible.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                mbankal Mala Bankal (Inactive)
                Reporter:
                tbaba Tadayuki Baba (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: