title: Whats the proper keytool command to get facebook app signature on android?
body: <p>I am trying to use openssl to export the key for my app. I followed the facebook developers guide but I am stuck when it comes to the keytool command.</p>
  
  <p>Facebook has it this way:</p>
  
  <pre><code>keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore | openssl sha1 -binary | openssl base64
  </code></pre>
  
  <p>I have mine this way:</p>
  
  <pre><code>"C:\Program Files\Java\jdk1.6.0_23\bin\keytool" -exportcert -alias androiddebugkey -keystore "C:\Users\blah\.android\debug.keystore" | "C:\blah\bin\openssl" sha1 -binary |"C:\blah\bin\openssl" base64
  </code></pre>
  
  <p>I run openssl.exe as an administrator. When I run the above command, it says <code>"Openssl Error: "C:\program files\java\jdk1.6.0_23\bin\keytool</code>"" is an invalid command.</p>
  
  <p>Please help! Thanks</p>