java - Openssl is not recognized as an internal or external command -


i wish generate application signature app later integrated facebook. in 1 of facebook's tutorials, found command:

keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore | openssl sha1 -binary | openssl base64 

in tutorial, says running cmd, process of generating signature start.

however, command gives error:

openssl not recognized internal or external command 

how can rid of this?

well @ place of openssl ... have put path openssl folder have downloaded. actual command should like:

keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore | "c:\users\abc\openssl\bin\openssl.exe" sha1 -binary | "c:\users\abc\openssl\bin\openssl.exe" base64 

remember, path enter path have installed openssl...hope helps..:-)

edit:

you can download openssl windows 32 , 64 bit respective links below:

openssl 64 bits

openssl 32 bits


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -