Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7014035
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T22:28:05+00:00 2026-05-27T22:28:05+00:00

keytool -exportcert -alias mykeystore -keystore mykeystore| openssl sha1 -binary | openssl base64 hello, I

  • 0

keytool -exportcert -alias mykeystore -keystore mykeystore| openssl sha1 -binary | openssl base64

hello, I am using the above command to generate my facebook key hash. It asks for my password and gives me a key hash. I put this key hash in the facebook app settings, yet it does not work for my signed android app.

When I was debugging the android app, I saw the console message saying it didn’t recognize “android key hash blahblahblah” so I copied “blahblahblah” into the facebook app, and that worked – my android app was able to use the facebook stuff while in debug mode. But clearly that was only for the debug keystore. Now for the real keystore the one it generates is still wrong, so a production version of my app will not be able to use facebook api.

One thing about my keystore is that it was made in eclipse. It is one keystore with two keys in it. I have noticed that eclipse keystore acts different than command line keystore things, and that they are incompatible for signing things. Yet I have already released a version of my app so I need to make due with the keys I am already using.

Insight appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T22:28:06+00:00Added an answer on May 27, 2026 at 10:28 pm

    Use keytool -list to list the aliases you have. If you are not sure which one you used to sign the APK you released, try both. One should work.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

keytool -list -alias alias_name -keystore my-release-key.keystore using above command when i try to create
I obtained a key for my Android/Facebook app using the following: keytool -exportcert -alias
This command: keytool -import -file $serverPath/$serverCer -alias $clientTrustedCerAlias -keystore $clientPath/$clientKeystore -storepass $serverPassword -noprompt Will
when I lunch this command: sudo $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA -keystore .
keytool -genkey -keystore myKeyStore -alias me keytool -selfcert -keystore myKeyStore -alias me jarsigner -keystore
When I use the command: C:\>keytool -list -alias androiddebugkey -keystore .android\debug.keystore -storepass android -keypass
keytool -genkey -keyalg RSA -dname cn=rahul,ou=OU,o=DEV,c=IN -alias rahul12 -keypass rahul12 -keystore rahul12.jks -storepass rahul12
I have a self-signed digital certificate created using java keytool command. Can I update
I did the following things: + generate keystore.jks with keytool + exported keystore.cer file
keytool -list -alias androiddebugkey -keystore ~/.android/debug.keystore. -storepass android -keypass android gives me the error:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.