0

I am exporting certificate, but the problem is how to get to the path of openssl in msdos. please help.

path of open ssl: C:\cygwin\bin

how to set path of openssl using command tool

2
  • The prompt does not look like Cygwin bash but like Windows Command Prompt (which has nothing to do with MS-DOS). Why don't you use Cygwin bash when it is installed? Then the path is correct. Commented Feb 11, 2012 at 11:25
  • ok i got it working its just " " quotes missing from cygin to openssl....anyways thanks to all for helping it out :) Commented Feb 11, 2012 at 19:07

1 Answer 1

3

To generate a new one you must delete the existing debug.keystore file.

Its location is platform dependent - you can find it in Preferences - Android - Build - Default debug key store.

You can create your own debug certificate in debug.keystore with whatever expiration you want(min 25year). Do this in the .android folder under your HOME directory:

keytool -genkey -v -keystore debug.keystore -alias androiddebugkey -storepass android -keypass android -keyalg RSA -validity 14000

For Detail Informations check this link and check this

Sign up to request clarification or add additional context in comments.

2 Comments

Thanks,,,but the problem is kind of very simple its just the msdos command which i am not writing correctly. I need to replace the highlighted portion with correct " " marks.
Right click on my computer and select properties. Theres a section in there for environment variables on the advanced tab. The path variable is in there, just add a semicolon and then the cygwin path to the end of the existing value.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.