Tapas Chand wrote:Keytool will not be run by "start keytool.exe" command.
You have to run it by the command "keytool" itself.
e.g.,
for all options run the following command.
Thanks it worked and I went a step ahead this time but again stuck at the last step when keystore was about to be generated:
enerating 2,048 bit RSA key pair and self-signed certificate (SHA256withRSA) with a validity of 10,000 days
for: CN=Ahmed Jadoon, OU=XXX, O=XXXX, L=Abbottabad, ST=KPK, C=PK
[Storing debug.keystore]
keytool error: java.io.FileNotFoundException: debug.keystore (Access is denied)
java.io.FileNotFoundException: debug.keystore (Access is denied)
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)