United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6927152 Escaped char. can not be set to CSR correctly by keytool in jdk5u22
JDK-6927152 : Escaped char. can not be set to CSR correctly by keytool in jdk5u22

Details
Type:
Bug
Submit Date:
2010-02-17
Status:
Closed
Updated Date:
2014-03-25
Project Name:
JDK
Resolved Date:
2011-03-11
Component:
security-libs
OS:
windows_xp
Sub-Component:
java.security
CPU:
x86
Priority:
P3
Resolution:
Fixed
Affected Versions:
5.0u22
Fixed Versions:
5.0u29 (b01)

Related Reports
Backport:
Relates:

Sub Tasks

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.

                                    

Comments
EVALUATION

Same as parent CR
                                     
2010-05-31



Hardware and Software, Engineered to Work Together