Programmers learn & share
0 votes
408 views

Problem :

I have encountered following keytool error
'openssl' is not recognized as an internal or external command, operable program or batch file.
by (6.9k points)   | 408 views

1 Answer

0 votes

Solution :

I hope your key working properly,Please follow following steps:

1. You will need OpenSSL. You need to download it from openssl-for-windows project on Google Code.

2. Please unzip the folder after that copy the path to the bin folder .

e.g. 

location C:\Users\peterlaw\openssl-0.9.8k_WIN32, then copy the path C:\Users\peterlaw\openssl-0.9.8k_WIN32\bin.

3. Also add the path to your system environment path. After your PATH the environment variable should be set, So open the cmd prompt and type following command:

C:\>keytool -exportcert -alias androiddebugkey -keystore [path to debug.keystore] | openssl sha1 -binary | openssl base64

Type your password when prompted. After this you will be shown a key.

by (36.1k points)  
2,245 questions
2,807 answers
60 comments
241 users