If you need the SHA1 of your key, just type in
$ keytool -exportcert -v -list -keystore mykey.keystore
By placing | openssl sha1 -binary | openssl base64
after that, you are encoding the output displayed by the keytool command. I suppose this is not what you normally want.