JDK-8157109 : Support version 1 cert generation in keytool
  • Type: Enhancement
  • Component: security-libs
  • Sub-Component: java.security
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • Submitted: 2016-05-17
  • Updated: 2020-11-25
  • Resolved: 2020-11-25
Related Reports
Relates :  
Keytool used to generate version 1 self-signed certificates.  Now it is
mandatory to be version 3.  Default version 3 should be OK.  However, in
some circumstances (for example for testing purpose), version 1
self-signed certificate may still be useful.

It would be a low priority, but may be nice to add an option to support
specified certificate version number for certificate generation.