How do I generate a CSR in Java Keytool?
QuoVadis provides a PKI Widget to generate a custom command line for Java Keytool.
For more information, please see https://pkiwidgets.quovadisglobal.com/scriptgen/default.aspx
Complete the form, then paste the resulting command into your terminal.
NOTE: The command provided by this tool creates a new keystore. Before starting, backup and remove any old keystores. If you add a new certificate to a prior keystore, it will not work.