I'm using Windows 7 64 bit and I'm trying to export the base64 encoded sha-hash of my Key with this command:
keytool -exportcert -alias [alias] -keystore [keystore]
| openssl sha1 -binary
| openssl base64
Unfortunatly I get the error
command "openssl" not found
I also tried to use other commands, that were shown on this website: http://www.startux.de/index.php/java/44-dealing-with-java-keystores But I always get the error, that openssl cannot be found. What am I missing?
Solution
I was missing openssl. And I downloaded it here: deanlee.cn/programming/openssl-for-windows
It works for me on Windows, so the only conclusion I can draw is that you are missing openssl, or it is not on your PATH. Either add it, or use the full path to the executable.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With