Android Forums

Go Back   These FORUMS ARE DISABLED!! OUR NEW FORUMS ARE AT http://androidforum.com/ > Android Coders > Android Development, Answers, Tutorials, and Code Snippets
Connect with Facebook

Click Here To Register!
 
 
LinkBack Thread Tools Display Modes
Old 06-07-2009, 10:50 AM   #1
Junior Member
 
Join Date: Jun 2009
Posts: 2
Friends: 0
View rohit.bt's Profile   View rohit.bt's Photo Album   View rohit.bt's Blog   View Social Groups
Hi All,

I am using Keytool to generate Key. Here is the process I am following and error I am getting. Please advise.Thanks.
- Rohit
-------------------------------------------------------------------------
C:\Program Files\Java\jdk1.6.0_11\bin>keytool -genkey -v -keystore Amanda.keysto
re -alias Aman -keyalg RSA -validity 10000
Enter keystore password:
Re-enter new password:
What is your first and last name?
[Unknown]: Amanda
What is the name of your organizational unit?
[Unknown]: Twist
What is the name of your organization?
[Unknown]: Twist Maker
What is the name of your City or Locality?
[Unknown]: Bangalore
What is the name of your State or Province?
[Unknown]: Karnataka
What is the two-letter country code for this unit?
[Unknown]: IN
Is CN=Amanda, OU=Twist, O=Twist Maker, L=Bangalore, ST=Karnataka, C=IN correct?
[no]: Y

Generating 1,024 bit RSA key pair and self-signed certificate (SHA1withRSA) with
a validity of 10,000 days
for: CN=Amanda, OU=Twist, O=Twist Maker, L=Bangalore, ST=Karnataka, C=IN

Enter key password for <Aman>
(RETURN if same as keystore password):
[Storing Amanda.keystore]
keytool error: java.io.FileNotFoundException: Amanda.keystore (Access is denied)

java.io.FileNotFoundException: Amanda.keystore (Access is denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.j ava:179)
at java.io.FileOutputStream.<init>(FileOutputStream.j ava:70)
at sun.security.tools.KeyTool.doCommands(KeyTool.java :902)
at sun.security.tools.KeyTool.run(KeyTool.java:172)
at sun.security.tools.KeyTool.main(KeyTool.java:166)
rohit.bt is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati
Old 05-05-2010, 09:28 AM   #2
Junior Member
 
Join Date: May 2010
Posts: 1
Friends: 0
View choikono's Profile   View choikono's Photo Album   View choikono's Blog   View Social Groups
i have the same problem, have you found a solution?
choikono is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati
Old 04-04-2011, 09:46 PM   #3
New Member
 
Join Date: Apr 2011
Posts: 1
Friends: 0
View Nova 5's Profile   View Nova 5's Photo Album   View Nova 5's Blog   View Social Groups
I have windows and kept getting "file not found" from keytool.

I open the keytool.exe in Explorer so it's in the directory. Right click on it. Choose compatiblitiy mode tab and select "run as administrator"
then it will pop up a window asking for permission when you run it and write the file correctly.
Nova 5 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati
 

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tutorial on Signing your apk for publishing! Destroythenseek Android Market/Reviews 9 12-01-2011 08:00 AM
Anyone had this problem? - "Unable to start Wi-Fi" josef G1 0 06-02-2009 05:30 PM
Installing and signing? chaoz1336 Android Development, Answers, Tutorials, and Code Snippets 2 03-09-2009 06:37 PM
Signing APK file issues.... arcarocket Android Development, Answers, Tutorials, and Code Snippets 5 02-22-2009 04:41 PM


Unlocked G1 Phones | Buy T-Mobile G1 | Google Phone

All times are GMT -6. The time now is 04:16 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.
Copyright (c) 2012 TalkAndroid.com. All rights reserved.