Programmer
Programmer

Reputation: 5400

java and android keystore path issue

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

Upvotes: 0

Views: 924

Answers (1)

Android
Android

Reputation: 2393

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

Upvotes: 3

Related Questions