title: Unable to use keytool and OpenSSL for Facebook Android SDK installation
body: <p>I'm trying to create a Facebook integrated Android app, but trying to use Facebook's Android SDK is tiring. Here's <a href="http://developers.facebook.com/docs/mobile/android/build/#register" rel="nofollow">the tutorial</a> I'm following. </p>
  
  <p>I'm stuck on the step <strong>Using the Keytool</strong>. I've searched around a bit and apparently I have to install OpenSSL which I promptly did. </p>
  
  <p>I found keytool under these directories on my Windows machine:</p>
  
  <pre><code>C:\Program Files\Java\jdk1.6.0_25
  C:\Program Files\Java\jdk1.7.0
  </code></pre>
  
  <hr>
  
  <p>When I run</p>
  
  <pre><code>keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore | openssl sha1 -binary | openssl base64 from the tutorial on openssl
  </code></pre>
  
  <hr>
  
  <p>I get the following error:</p>
  
  <pre><code>openssl:Error: 'keytool' is an invalid command.
  </code></pre>