diff --git a/docs/html/guide/publishing/app-signing.jd b/docs/html/guide/publishing/app-signing.jd index 39b230bbfb3de..8c37d7a02f12a 100644 --- a/docs/html/guide/publishing/app-signing.jd +++ b/docs/html/guide/publishing/app-signing.jd @@ -337,17 +337,6 @@ keys)
-v-keystore <keystore-name>.keystore-storepass <password>A password for the -keystore.
As a security precaution, do not include this option -in your command line unless you are working at a secure computer. -If not supplied, Keytool prompts you to enter the password. In this -way, your password is not stored in your shell history.
-alias <alias_name>-keysize <size>-dname <name>A Distinguished Name that describes who created the key. The value is used as the issuer and subject fields in the self-signed certificate.
Note that you do not need to specify this option @@ -363,22 +357,31 @@ in the command line. If not supplied, Jarsigner prompts you to enter each of the Distinguished Name fields (CN, OU, and so on).
-keypass <password>The password for the +key.
As a security precaution, do not include this option in your command +line. If not supplied, Keytool prompts you to enter the password. In this way, +your password is not stored in your shell history.
-validity <valdays>The validity period for the key, in days.
Note: A value of 10000 or greater is recommended.
-keypass <password>The password for the key.
-As a security precaution, do not include this option -in your command line unless you are working at a secure computer. -If not supplied, Keytool prompts you to enter the password. In this -way, your password is not stored in your shell history.
-keystore <keystore-name>.keystore-storepass <password>A password for the +keystore.
As a security precaution, do not include this option in your +command line. If not supplied, Keytool prompts you to enter the password. In +this way, your password is not stored in your shell history.
Here's an example of a Keytool command that generates a private key:
$ keytool -genkey -v -keystore my-release-key.keystore --alias alias_name -keyalg RSA -validity 10000+-alias alias_name -keyalg RSA -keysize 2048 -validity 10000
Running the example command above, Keytool prompts you to provide passwords for the keystore and key, and to provide the Distinguished