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

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

XMLWordPrintable

    • b01
    • x86
    • windows_xp
    • Verified

        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.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: