How do you fix OpenSSL is not recognized as an internal or external command operable program or batch file?

  1. Home
  2. Java
  3. Openssl Is Not Recognized As An Internal Or External Command

Openssl is not recognized as an internal or external command

Tags: java , android , keytool , facebook-android-sdk Answers: 1 | Viewed 226,798 times

I wish to generate an application signature for my app which will later be integrated with Facebook. In one of Facebook's tutorials, I found this command:


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

In the tutorial, it says that by running this cmd, my process of generating the signature will start.

However, this command gives an error:


openssl is not recognized as an internal or external command

How can I get rid of this?


Usama Sarwar answer at 2012-08-10 423

Well at the place of OpenSSL ... you have to put actually the path to your OpenSSL folder that you have downloaded. Your actual command should look like this:


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, the path that you will enter will be the path where you have installed the OpenSSL.

Edit:

you can download OpenSSL for windows 32 and 64 bit from the respective links below:

OpenSSL for 64 Bits

OpenSSL for 32 Bits


* The answers/resolutions are collected from stackoverflow, are licensed under CC BY-SA 4.0

Some Code Answers


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

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

keytool -exportcert -alias androiddebugkey -keystore "<path-to-users-directory>\.android\debug.keystore" | ^ c:\OpenSSL-Win32\bin\openssl.exe sha1 -binary | c:\OpenSSL-Win32\bin\openssl.exe base64

More Answers Related Openssl Is Not Recognized As An Internal Or External Command

Openssl is not recognized as an internal or external …

1 week ago Aug 09, 2012  · Step 2 Unzip the folder, then copy the path to the bin folder to the clipboard. For example, if the file is unzipped to the location C:\Users\gaurav\openssl-0.9.8k_WIN32, then copy the path C:\Users\gaurav\openssl-0.9.8k_WIN32\bin. Step 3 Add the path to your system environment path.

Reviews: 6

Show details

See also: File

openssl is not recognized as an internal or external …

1 week ago The other way is to invoke the OpenSSL command by providing the absolute path c:\OpenSSL-Win32\bin\ in the command line. This way, you can solve the issue. – Article ends here –

Estimated Reading Time: 2 mins

Show details

'openssl' is not recognized as internal or external command

3 days ago The openssl binary is probably located at c:\OpenSSL-Win32\bin\openssl.exe. So you path needs to include c:\OpenSSL-Win32\bin . Sometimes OpenSSL cannot find its …

Show details

Fix 'openssl' is not recognized as an internal or external …

1 day ago Dec 18, 2016  · Fix for openssl error 'openssl' is not recognized as an internal or external command, operable program or batch file

Show details

See also: File

Openssl is not recognized as an internal or external command

1 week ago Well at the place of openssl ... you have to put actually the path to your openssl folder that you have downloaded. ... Javascript; Linux; Cheat sheet; Contact; Openssl is not recognized as an internal or external command. Well at the place of openssl ... you have to put actually the path to your openssl folder that you have downloaded. Your ...

Show details

Openssl is not recognized as an internal or external command – Dev

2 days ago The best answers to the question “Openssl is not recognized as an internal or external command” in the category Dev. ... \Users\openssl\bin\openssl.exe; If command successfully work then you will see this command : Enter keystore password : typeyourpassword. Encryptedhashkey** ANSWER: Please follow these step, I hope your key working properly:

Show details

openssl is not recognized as an internal or external …

4 days ago Jan 01, 2014  · I want to add Facebook sdk into my android application. I am following this tutorial.. I am stuck at this point: Firstly, to generate your key hash on your local computer, run Java's keytool utility (which should be on your console's path) against the …

Show details

See also: Android

openssl is not recognized as an internal or external error

6 days ago Feb 20, 2015  · Reminder: - To launch the command prompt, go to the start menu and execute "cmd". - To paste the following command lines in dos command prompt, right click and select paste. - To go to the repertory in which is installed OpenSSL, execute: cd c:\. cd OpenSSL (or cd OpenSSL-Win32) cd bin.

Show details

Error: Openssl is not recognized as an internal or external …

1 week ago This is a reponse video for the mybringback facebook sdk tutorial number 2 by Travis. Requested my Alekmodi19.

Show details

See also: Facebook

openssl.exe is not recognized as an internal or external command

1 week ago OK, So thats a different matter... Try the following to resolve this. At the CMD prompt type. set OPENSSL_CONF="D:\apps\Tableau Server\9.3\apache\conf\openssl.cnf". See article. Obtaining an SSL Certificate for Tableau Server | Tableau Software. Hope this helps.

Show details

See also: Apache

'openssl' is not recognized as an internal or external command #2

1 week ago Feb 05, 2019  · I suspect that you are using a precompiled version of OpenSSL for Windows and not the OpenSSL in a linux distro using the Windows Subsystem for Linux. Try to set "opensslutils.useWsl": false, "opensslutils.opensslPath": "C:\Program Files (x86)\OpenSSL-Win32\bin\openssl.exe" And let me know.

Show details

See also: Linux

Please leave your answer here:

Why is OpenSSL not recognized?

The error you saw means there's no such program in your %PATH% (external command) and it's also not a built-in shell command (internal command). Install OpenSSL on your machine. You will also need to check that its installed location is in your %PATH% . By default it probably won't be.

How do you resolve is not recognized as an internal or external command operable program or batch file?

You can resolve this issue in three ways:.
First, use the full path of the executable file to launch the program..
Second, add the program path to Windows environment variables..
Finally, move the files to the System32 folder..

How do I open an OpenSSL file in Windows?

In Windows, click Start > Run..
In the Open box, type CMD and click OK..
A command prompt window appears..
Type the following command at the prompt and press Enter: cd \OpenSSL-Win32..
The line changes to C:\OpenSSL-Win32..
Type the following command at the prompt and press Enter: ... .
Restart computer (mandatory).

How do I install OpenSSL on Windows?

Download the OpenSSL for Windows installation package. Double-click the installation file..
Close OpenSSL..
Open a Command Prompt (CMD) as Administrator..
Run the following command: SET OPENSSL_CONF=C:\OpenSSL-Win32\bin\openssl. cfg..
Reboot the computer..

Toplist

Neuester Beitrag

Stichworte