SHA-1 fingerprint of keystore certificate

前端 未结 30 3105
长发绾君心
长发绾君心 2020-11-21 23:36

Is the method for getting a SHA-1 fingerprint the same as the method of getting the a fingerprint? Previously, I was running this command:

30条回答
  •  后悔当初
    2020-11-22 00:04

    In Gnu/Linux

    First

    You need key.jks, for example in my case this file it's in folder in /Desktop/Keys

    /Desktop/Keys/key.jks
    

    Second

    cd /usr/lib/jvm/java-1.7.0-openjdk-amd64

    Now you need excecute this command

    keytool -list -v -keystore /PATH/file.jks -alias YourAlias -storepass *** -keypass ***
    

    remplacing this fields

    -keystore
    -alias
    -storepass
    -keypass
    

    For example

     keytool -list -v -keystore /home/david/Desktop/Keys/key.jks -alias MyAlias -storepass 456 -keypass 123
    

    Good Luck!!

提交回复
热议问题