OpenSSL的没有被识别为内部或外部的命令 [英] Openssl is not recognized as an internal or external command

查看:3536
本文介绍了OpenSSL的没有被识别为内部或外部的命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想genrate应用程序签名我的应用程序,以后将与Facebook整合。

在一个Facebook的教程中,我发现这个命令

 密钥工具-exportcert -alias androiddebugkey -keystore〜/ .android / debug.keystore | OpenSSL的SHA1 -binary | OpenSSL的BASE64
 

和这是写在那里,通过在cmd我生成签名的进程将开始运行这个

此命令给出了一个错误:

  OpenSSL是不被识别为一个内部或外部命令
 

请指导如何摆脱这种

解决方案

嗯,OpenSSL的......你必须把实际的路径,你已经下载了OpenSSL的文件夹的地方。您的实际命令应该是这样的:

 密钥工具-exportcert -alias androiddebugkey -keystore〜/ .android / debug.keystore | C:\用户\ ABC \ OpenSSL的\ BIN \ openssl.exeSHA1 -binary | C:\用户\ ABC \ OpenSSL的\ BIN \ openssl.exe的base64
 

记住,你将进入将是你已经安装了OpenSSL的...希望这有助于..路径路径: - )

编辑:

您可以从下面的相应链接下载的OpenSSL的Windows 32位和64位

<一个href="http://$c$c.google.com/p/openssl-for-windows/downloads/detail?name=openssl-0.9.8k_X64.zip">OpenSSL 64位

<一个href="https://$c$c.google.com/p/openssl-for-windows/downloads/detail?name=openssl-0.9.8k_WIN32.zip">OpenSSL 32位

I wish to genrate application signature for my app which will later be integrated with facebook.

In a facebook's tutorial I found this command

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

and It is written over there that by running this on cmd my process of generating the signature will start

this command gives an error :

    openssl is not recognized as an internal or external command

Kindly guide how to get rid of this

解决方案

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:

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 that you will enter will be the path where you have installed the openssl...hope this helps..:-)

Edit:

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

OpenSSL for 64 Bits

OpenSSL for 32 Bits

这篇关于OpenSSL的没有被识别为内部或外部的命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆