Last active
February 8, 2021 13:02
-
-
Save icyleaf/1c90cbb2f7665e31c198b5423a21f750 to your computer and use it in GitHub Desktop.
获取 apk 文件证书签名的三种方式
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 获取 apk 的证书 | |
keytool -list -printcert -jarfile app.apk | |
# 获取 apk 解包后 CERT.{RSA|DSA} 的证书 | |
keytool -printcert -file app/META-INF/CERT.{RSA|DSA} | |
# 获取 keystore 的证书 | |
keytool -list -keystore app.keystore -storepass {password} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment