4 Replies Latest reply: Sep 25, 2012 1:46 PM by 962368 RSS

    Problems with MD5 in KeyTools

    962368
      Hello

      I have a problem with keytool or genre and when it shows on Google Map SHA1 and MD5 is required

      this is what generates

      C: \ Program Files \ Java \ jdk1.7.0_05 \ bin> keytool.exe-list-alias androiddeb
      ugkey-keystore C: \ Users \ jose \. android \ debug.keystore-storepass android-keypas
      s android
      androiddebugkey, Aug 14, 2012, PrivateKeyEntry,
      Certificate Fingerprint (SHA1): 83:30:91: EC: 2D: 3A: EF: E5: 88: AA: CF: 6F: 53: C3: 62: B5: 90: CF: 9F: 35

      As solves this inconvenience

      Edited by: 959365 on 16-sep-2012 16:20
        • 1. Re: Problems with MD5 in KeyTools
          EJP
          I have a problem with keytool or genre
          What is 'or genre'?
          and when it shows on Google Map SHA1 and MD5 is required
          Please translate that into standard English.
          As solves this inconvenience
          What inconvenience?
          • 2. Re: Problems with MD5 in KeyTools
            962368
            With keytool shows a SHA1 format

            and require the MD5 because it requires Google

            Java Program 7, windows 7 64 bit system

            syntax

            C: \ Program Files \ Java \ jdk1.7.0_05 \ bin> keytool.exe-list-alias androiddeb
            ugkey-keystore C: \ Users \ jose \. android \ debug.keystore-storepass android-keypas
            s android
            androiddebugkey, Aug 14, 2012, PrivateKeyEntry,
            Certificate Fingerprint (SHA1): 83:30:91: EC: 2D: 3A: EF: E5: 88: AA: CF: 6F: 53: C3: 62: B5: 90: CF: 9F: 35

            I need to download a MD5 api, if the solution

            thanks

            Edited by: 959365 on 16-sep-2012 17:50
            • 3. Re: Problems with MD5 in KeyTools
              EJP
              You need to regenerate the private key specifying -sigalg MD5. You may also have to change to -keyalg RSA too.

              This is all documented.
              • 4. Re: Problems with MD5 in KeyTools
                962368
                thank you very much

                in the documentation helped me with a missing parameter

                C:\Archivos de programa\java\jdk1.7.0_05\bin>keytool -v -list -alias androiddebu
                gkey -keystore "C:\Users\jose\.android\debug.keystore" -storepass android -keypa
                ss android
                Nombre de Alias: androiddebugkey
                Fecha de Creaci¾n: 14-ago-2012
                Tipo de Entrada: PrivateKeyEntry
                Longitud de la Cadena de Certificado: 1
                Certificado[1]:
                Propietario: CN=Android Debug, O=Android, C=US
                Emisor: CN=Android Debug, O=Android, C=US
                N·mero de serie: 6aac50e8
                Vßlido desde: Tue Aug 14 14:46:51 COT 2012 hasta: Thu Aug 07 14:46:51 COT 2042
                Huellas digitales del Certificado:
                MD5: A9:32:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
                SHA1: 83:30:91:EC:2D:3A:EF:E5:88:AA:CF:6F:53:C3:62:B5:90:CF:9F:35
                SHA256: 17:56:56:5B:E7:3E:24:17:0B:D4:64:08:FA:D2:3B:1C:0B:CF:F0:15:C9:
                12:6F:13:E3:F2:75:C6:65:CF:2E:98
                Nombre del Algoritmo de Firma: SHA256withRSA
                Versi¾n: 3

                Extensiones:

                #1: ObjectId: 2.5.29.14 Criticality=false
                SubjectKeyIdentifier [
                KeyIdentifier [
                0000: 05 19 4E B9 77 B9 A4 D9 CE E9 94 CE 72 1F AD 3C ..N.w.......r..<
                0010: E4 62 78 C8