JDK-4322643 : keytool requires certificate reply to be terminated by newline
  • Type: Bug
  • Component: security-libs
  • Sub-Component: java.security
  • Affected Version: 1.0.2,1.2.0,1.3.0
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2000-03-17
  • Updated: 2000-04-28
  • Resolved: 2000-04-28
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.4.0 betaFixed
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Description
keytool requires a certificate reply to be terminated by a newline (linefeed) in order to be able to import it (from a file).
If there is no linefeed at the end of the certificate reply, keytool will raise the following exception when asked to import the reply:

keytool error: java.security.cert.CertificateException: Unsupported encoding


Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: merlin FIXED IN: merlin INTEGRATED IN: merlin-beta
14-06-2004

WORK AROUND Edit text file where certificate reply is stored, and add a linefeed.
11-06-2004

EVALUATION jan.luehe@Eng 2000-03-16 I have a fix in my ws that will make keytool accept certificate replies that are not terminated by a linefeed. sharon.liu@eng 2000-04-18 I picked up Jan's fix and tested it: it does fix the problem.
18-04-2000