JDK-8213821 : Release Note: -groupname Option Added to keytool Key Pair Generation
  • Type: Sub-task
  • Component: security-libs
  • Sub-Component: java.security
  • Affected Version: 8u281,11.0.10-oracle,12
  • Priority: P3
  • Status: Closed
  • Resolution: Delivered
  • Submitted: 2018-11-14
  • Updated: 2020-09-21
  • Resolved: 2019-07-23
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 11 JDK 12 JDK 8
11.0.10-oracleResolved 12Resolved 8u281Resolved
Description
A new `-groupname` option has been added to `keytool -genkeypair` so that a user can specify a named group when generating a key pair. For example, `keytool -genkeypair -keyalg EC -groupname secp384r1` will generate an EC key pair by using the `secp384r1` curve. Because there might be multiple curves with the same size, using the `-groupname` option is preferred over the `-keysize` option.