JDK-8062552 : Support keystore type detection for JKS and PKCS12 keystores
  • Type: Enhancement
  • Component: security-libs
  • Sub-Component: java.security
  • Affected Version: 8
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2014-10-30
  • Updated: 2017-12-21
  • Resolved: 2015-05-25
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 JDK 8 Other
7u171Fixed 8u60 b18Fixed openjdk7uFixed
Related Reports
Duplicate :  
Relates :  
Relates :  
Sub Tasks
JDK-8192884 :  
A mechanism to automatically detect a keystore type is required for the existing KeyStore API.

This is needed to ease the migration from JKS keystores to PKCS12 keystores without disturbing existing applications. The mechanism should allow keystore applications to interoperate with both keystore types without the need for any changes to application code.

Release Note comment: Keystore Compatibility Mode To aid interoperability, the Java keystore type JKS now supports keystore compatibility mode by default. This mode enables JKS keystores to access both JKS and PKCS12 file formats. To disable keystore compatibility mode set the Security property 'keystore.type.compat' to the string value 'false'.