Using the keytool Utility
The JDK provides a command-line utility named keytool for manipulation of the keystore key database. This tool is run from the command line and accepts a number of parameters that allow it to be used to create new certificates, to import certificates, to delete certificates, or to generate certificate-signing requests (CSRs) for Certificate Authorities.
The following sections detail some of the more common actions that can be executed with this command and the parameters used to execute the actions. If all required parameters have not been passed in the command, then the keytool command will prompt for additional parameters. For the commands shown below, the keytool command will prompt the user for one or more passwords. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access