JDK-8202263 : keytool exception: Failed to parse input on crt files containing whitespace
  • Type: Bug
  • Component: security-libs
  • Sub-Component: java.security
  • Affected Version: 7u181
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-04-25
  • Updated: 2018-07-05
  • Resolved: 2018-05-03
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.
JDK 7
7u181Fixed
Description
For JRE 7u181, the command keytool -printcert produces the following error: 
keytool error: java.lang.Exception: Failed to parse input 
java.lang.Exception: Failed to parse input 

The same command works fine with JRE 8u172.