creating keystore error

hello all…

How can i solve this?

help tnx…

c:\Program Files\Java\jdk1.7.0_45\bin>keytool -genkey -v -keystore C:\Temp\my-re
lease-key.keystore -alias Trashrush -keyalg RSA -keysize 2048 -validity 10000
Enter keystore password:
Re-enter new password:
They don’t match. Try again
Enter keystore password:
Re-enter new password:
What is your first and last name?
  [Unknown]:  juario
What is the name of your organizational unit?
  [Unknown]:  1der
What is the name of your organization?
  [Unknown]:  1derminds
What is the name of your City or Locality?
  [Unknown]:  davao
What is the name of your State or Province?
  [Unknown]:  philippines
What is the two-letter country code for this unit?
  [Unknown]:  ph
Is CN=juario, OU=1der, O=1derminds, L=davao, ST=philippines, C=ph correct?
  [no]:  yes

Generating 2,048 bit RSA key pair and self-signed certificate (SHA256withRSA) wi
th a validity of 10,000 days
        for: CN=juario, OU=1der, O=1derminds, L=davao, ST=phili

ppines, C=ph
Enter key password for <Trashrush>
        (RETURN if same as keystore password):

|||||||||||||||||||||||| THIS is the ERROR |||||||||||||||||||||||||||||||||||

[Storing C:\Temp\my-release-key.keystore]
keytool error: java.io.FileNotFoundException: C:\Temp\my-release-key.keystore (T
he system cannot find the path specified)
java.io.FileNotFoundException: C:\Temp\my-release-key.keystore (The system canno
t find the path specified)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:110)
        at sun.security.tools.KeyTool.doCommands(KeyTool.java:1152)
        at sun.security.tools.KeyTool.run(KeyTool.java:340)
        at sun.security.tools.KeyTool.main(KeyTool.java:333)

c:\Program Files\Java\jdk1.7.0_45\bin>
 

Does C:\Temp exist?

does not exist sir Rob but i solve the now the problem…
 

this is the right path…

.

keytool -genkey -v -keystore my-re
lease-key.keystore -alias Myappname -keyalg RSA -keysize 2048 -validity 10000

.

i remove the temp… then its ok… :rolleyes:

Does C:\Temp exist?

does not exist sir Rob but i solve the now the problem…
 

this is the right path…

.

keytool -genkey -v -keystore my-re
lease-key.keystore -alias Myappname -keyalg RSA -keysize 2048 -validity 10000

.

i remove the temp… then its ok… :rolleyes: