'openssl' is not recognized as internal or external command

Viewed 104189

I am trying to execute the following command in command prompt .

keytool -exportcert -alias androiddebugkey -keystore "<path-to-users-directory>\.android\debug.keystore" | openssl sha1 -binary | openssl base64

But the command prompt windows reports:

'openssl' is not recognized as internal or external command.

What ca I do to execute this command in command prompt window?

5 Answers

Just you need to Add OpenSSL bin path (ex: C:\Program Files\OpenSSL-Win64\bin) to the PATH system variable as shown below:

enter image description here

Related