Amazon IAPS- MD5 signature versus SHA1

Hello,

I am trying to do Amazon IAPs and am stuck in obtaining the MD5 signature. I have use a command to retreive the MD5 signature but it ended up giving me the SHA1 signature where it was supposed to be MD5. The command that I used was

keytool -list -keystore /Users/MYNAME/MYCOMPANYNAME.keystore

Does anyone know what the SHA1 is? Is it the samething as an MD5? If not what other ways are there to obtain the MD5?

Thanks!

Comments

  • BBEnkBBEnk Member Posts: 1,764

    you have command correct just type keytool -list -keystore"put a space here" then drag and drop your keystore file into terminal and then hit enter, it will then ask for password hit enter and then it will show MD5.

  • motorcycle boymotorcycle boy Member Posts: 429

    I did exactly what you said and this is what it gave me:

    Enter keystore password:

    ***************** WARNING WARNING WARNING *****************
    * The integrity of the information stored in your keystore *
    * has NOT been verified! In order to verify its integrity, *
    * you must provide your keystore password. *
    ***************** WARNING WARNING WARNING *****************

    Keystore type: JKS
    Keystore provider: SUN

    Your keystore contains 1 entry

    nookandroid, Jun 17, 2014, PrivateKeyEntry,
    Certificate fingerprint (SHA1): XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX

    Even when I inputted the correct password I got the same message. Is there something I am missing?

  • motorcycle boymotorcycle boy Member Posts: 429

    Any ideas?

  • BBEnkBBEnk Member Posts: 1,764

    This is what I get, doing same thing in terminal on a Mac, don't know why not working for you.

    Last login: Wed Jun 18 07:33:48 on ttys000
    my-Mac-Mac-mini-2:~ myMac$ keytool -list -keystore /Users/myMac/bbenk.keystore
    Enter keystore password:

    Keystore type: JKS
    Keystore provider: SUN

    Your keystore contains 1 entry

    bbenk, Jul 17, 2012, PrivateKeyEntry,
    Certificate fingerprint (MD5): XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX
    my-Mac-Mac-mini-2:~ myMac$

Sign In or Register to comment.