• Register
0 votes
899 views

Problem :

I have encountered following keytool error
'openssl' is not recognized as an internal or external command, operable program or batch file.
6 5 3
6,930 points

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.

9 7 4
38,600 points

Related questions

0 votes
2 answers 2.3K views
2.3K views
Problem : I am facing following keytool error 'keytool' is not recognized as an internal or external command, operable program or batch file.
asked Nov 13, 2019 peterlaw 6.9k points
0 votes
1 answer 8 views
8 views
When the above error appear in the command prompt and reasons behind it?
asked Oct 6 jagruthi 560 points
0 votes
2 answers 661 views
661 views
Problem : I get the following error when I execute jar command in cmd. 'jar' is not recognized as an internal or external command, operable program or batch file. I tried very hard to solve this problem by myself by putting the path of the jar.exe file in my "path" variable ... I got the same error. Please let me know my mistake and how to fix it. I need to create jar files via the command line.
asked Nov 21, 2019 peterlaw 6.9k points
0 votes
2 answers 116 views
116 views
Problem : When ever I run mvn --version command from inside the bin it gives me the version but when I run it from the outside of bin it gives following exception : 'mvn' is not recognized as an internal or external command, operable program or batch file.
asked Nov 18, 2019 peterlaw 6.9k points
0 votes
1 answer 9 views
9 views
I installed WAMP on my computer. After the installation, I created my first php file. I wanted to test it by using the command prompt. php test.php But I got this error instead. 'php' is not recognized as an internal or external command, operable program ... don’t know what’s wrong because I followed the tutorial on how to install WAMP. Any help and guide will be greatly appreciated.
asked Oct 11 azriel 340 points