title: Generating a debug key hash value for linkedin login for android Application
body: <p>I want linkedin login to be integrated in my Android app.</p>
  
  <p>for that i need to  Generate a debug key hash value for linkedin</p>
  
  <p>when i checked the documentation they said to install openssl and and run the command </p>
  
  <pre><code>keytool -exportcert -keystore %HOMEPATH%\.android\debug.keystore -alias androiddebugkey | openssl sha1 -binary | openssl base64
  </code></pre>
  
  <p>i tried executing this in "C:\OpenSSL-Win64\bin" in "cmd" i got a respose of :-</p>
  
  <pre><code>'keytool' is not recognized as an internal or external command,
  operable program or batch file.
  </code></pre>
  
  <p>when i executed this in C:\Program Files\Java\jre1.8.0_66\bin "cmd"i got a response:-</p>
  
  <pre><code>*username\.android\debug.keystore
  keytool -exportcert [OPTION]...
  
  Exports certificate
  
  Options:
  
   -rfc                            output in RFC style
   -alias &lt;alias&gt;                  alias name of the entry to process
   -file &lt;filename&gt;                output file name
   -keystore &lt;keystore&gt;            keystore name
   -storepass &lt;arg&gt;                keystore password
   -storetype &lt;storetype&gt;          keystore type
   -providername &lt;providername&gt;    provider name
   -providerclass &lt;providerclass&gt;  provider class name
   -providerarg &lt;arg&gt;              provider argument
   -providerpath &lt;pathlist&gt;        provider classpath
   -v                              verbose output
   -protected                      password through protected mechanism
  
  Use "keytool -help" for all available commands
  2jmj7l5rSw0yVb/vlWAYkK/YBwk=*
  </code></pre>
  
  <p>please guide me if is there any problem with the command or the loctaion where i m executing the command or any thing else ...</p>