Openssl is not recognized as an internal or external command

后端 未结 15 1797
轻奢々
轻奢々 2020-11-28 00:59

I wish to generate an application signature for my app which will later be integrated with Facebook. In one of Facebook\'s tutorials, I found this command:

k         


        
15条回答
  •  余生分开走
    2020-11-28 01:42

    for windows users download open ssl from google's code repository https://code.google.com/p/openssl-for-windows/downloads/list

    After the download, extract the contents to a folder preferably in your c: drive.

    Then update your PATH environment variable so you can use the .exe from any location in your command line.

    [windows 8] To update your PATH environment variable, click my computer->properties->Advanced System Settings.

    Click the Advanced Tab and click the 'Environment Variable' button at the bottom of the dialog then select the Path entry from the 'System Variables' Section by clicking edit.

    Paste the path to the bin folder of the extracted openssl download and click ok.

    You will need to close and open and command prompt you may have previously launched so that you can load the updated path settings.

    Now run this command:

    keytool -exportcert -alias androiddebugkey -keystore "C:\Users\Oladipo.android\debug.keystore" | openssl sha1 -binary | openssl base64

    You should see the developer key.

提交回复
热议问题