Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to get the debug or Signed SHA1 fingerprint for Android Application in Ubuntu

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 579
    Comment on it

    SHA-1 fingerprint is used for creating a digital certificate, either debug certificate and released certificate. Debug certificate is when application is in testing phase and released when ready to be in a live mode. Fingerprint is a hexadecimal numbers of 20 two-digit length separated by colon. Android SDK provides a debug.keystore file automatically when user build the project at very fist time.

    1) For debug, open a terminal and enter the following command:

     keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android

    2) Signed SHA-1 is created for release build. First generate the released keystore file and save it to the particular known location. Below command will help to generate Signed SHA-1. It asks for a password, just type the same password which you have entered while creating the release keystore.

    	keytool -list -v -keystore "your_keystore_path"

    Example:-  Open terminal and type following command for Signed fingerprint

    keytool -list -v -keystore "/media/Drive1/AndroidProjects/TestProject/TestProject.jks"

    Alias name: TestProject
    Creation date: 4 Jul, 2016
    Entry type: PrivateKeyEntry
    Certificate chain length: 1
    Certificate[1]:
    Owner: CN=XYZ
    Issuer: CN=XYZ
    Serial number: 3a0277d4
    Valid from: Wed Sep 30 16:31:30 IST 2015 until: Sun Sep 23 16:31:30 IST 2040
    Certificate fingerprints:
         MD5:  A1:E7:2F:02:B9:FF:68:A3:7F:F3:FA:53:BD:BF:96:38
         SHA1: A4:AC:1F:95:9E:97:42:78:BF:65:89:58:06:44:08:7D:D3:7D:DD:FF
         SHA256: 25:23:15:3C:2F:E9:B8:5B:23:F3:36:04:19:0A:2B:82:C7:B8:E6:A3:1A:4D:53:29:B7:82:26:CA:D2:5D:8B:B6
         Signature algorithm name: SHA256withRSA
         Version: 3

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: