Running the following at the command line:

    On Mac/Linux, use the following command:

    
  keytool -genkey -v -keystore ~/upload-keystore.jks -keyalg RSA -keysize 2048 -validity 10000 -alias upload
    

    On Windows, use the following command:

    
  keytool -genkey -v -keystore %userprofile%\upload-keystore.jks -storetype JKS -keyalg RSA -keysize 2048 -validity 10000 -alias upload
    

    This command stores the upload-keystore.jks file in your home
  directory. If you want to store it elsewhere, change
  the argument you pass to the -keystore parameter.
  However, keep the keystore file private;
  don’t check it into public source control!