I am trying to create a key pair and storing them in a key store from the Windows command line prompt (using Windows 10 JDK 14). Here is the command I am typing:
keytool -genkey -alias chris -keystore chirskeystore
First, system prompts me for a password then re-enter the password and finally, it returns with the following error:
keytool error: java.lang.Exception: The -keyalg option must be specified.
The command is directly from the Oracle tutorial on java security:
https://docs.oracle.com/javase/tutorial/security/toolfilex/step2.html
Searching for the -keyalg or the error led to nowhere. Any insight will be great.
Thanks.