test/jdk/sun/security/tools/keytool/i18n.html
changeset 59104 046e4024e55a
parent 54521 8de62c4af8c7
equal deleted inserted replaced
59103:4a09d4df104c 59104:046e4024e55a
     7 <ol>
     7 <ol>
     8 <li>    rm ~/.keystore
     8 <li>    rm ~/.keystore
     9         If you are on a Windows platform, delete the .keystore file in
     9         If you are on a Windows platform, delete the .keystore file in
    10         your home directory.
    10         your home directory.
    11 <li>	keytool -help
    11 <li>	keytool -help
    12 <li>	keytool -genkey -v -keysize 512
    12 <li>	keytool -genkey -keyalg DSA -v -keysize 512
    13 	Enter "a" for the keystore password.  Check error (password too short).
    13 	Enter "a" for the keystore password.  Check error (password too short).
    14 	Enter "password" for the keystore password.
    14 	Enter "password" for the keystore password.
    15         Re-enter "password" to confirm.
    15         Re-enter "password" to confirm.
    16 	Hit 'return' for "first and last name", "organizational unit",
    16 	Hit 'return' for "first and last name", "organizational unit",
    17 	"organization", "City", "State", and "Country Code".
    17 	"organization", "City", "State", and "Country Code".
    19 	Type 'return' for new key password.
    19 	Type 'return' for new key password.
    20 <li>	keytool -list -v -storepass password
    20 <li>	keytool -list -v -storepass password
    21 <li>	keytool -list -v
    21 <li>	keytool -list -v
    22 	Type "a" for the keystore password.
    22 	Type "a" for the keystore password.
    23 	Check error (wrong keystore password).
    23 	Check error (wrong keystore password).
    24 <li>	keytool -genkey -v -keysize 512
    24 <li>	keytool -genkey -keyalg DSA -v -keysize 512
    25 	Enter "password" as the password.
    25 	Enter "password" as the password.
    26 	Check error (alias 'mykey' already exists).
    26 	Check error (alias 'mykey' already exists).
    27 <li>	keytool -genkey -v -keysize 512 -alias mykey2 -storepass password
    27 <li>	keytool -genkey -keyalg DSA -v -keysize 512 -alias mykey2 -storepass password
    28 	Hit 'return' for "first and last name", "organizational unit",
    28 	Hit 'return' for "first and last name", "organizational unit",
    29 	"organization", "City", "State", and "Country Code".
    29 	"organization", "City", "State", and "Country Code".
    30 	Type "yes" when they ask you if everything is correct.
    30 	Type "yes" when they ask you if everything is correct.
    31 	Type 'return' for new key password.
    31 	Type 'return' for new key password.
    32 <li>	keytool -list -v
    32 <li>	keytool -list -v