Last active
January 13, 2016 20:47
-
-
Save viniciusdaniel/dfb063914cfc9e4eb969 to your computer and use it in GitHub Desktop.
Re-generate a debug.keystore file with defaults passwords and common name data, using SHA-2 and size of 2048bits
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If ~/.android/debug.keystore exists you need remove this previosly | |
keytool -genkey -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android -keysize 2048 -keyalg RSA -sigalg SHA256withRSA -validity 30000 -dname "CN=Android Debug,O=Android,C=US" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Some notes
-sigalg SHA256withRSA
to-sigalg SHA1withRSA
-dname "CN=Android Debug,O=Android,C=US"
, and prompt the data