检查 Apk 所用的 certificate

➜  project unzip testing.apk -d android

➜  project keytool -printcert -file android/META-INF/CERT.RSA
Owner: CN=Android Debug, O=Android, C=US
Issuer: CN=Android Debug, O=Android, C=US
Serial number: 49a121d9
Valid from: Fri Aug 12 14:09:53 CST 2016 until: Sun Aug 05 14:09:53 CST 2046
Certificate fingerprints:
	 MD5:  9B:9D:A8:7D:9B:D8:F0:47:7B:7C:47:09:FE:37:87:CB
	 SHA1: 6C:D5:19:EF:BF:D8:FE:8C:0F:5B:E0:35:10:09:16:20:63:65:01:42
	 SHA256: 17:20:8D:2F:55:47:AF:33:68:4F:8A:4E:87:AD:F1:54:2F:E8:50:5F:AD:2F:5A:C6:72:1E:83:9F:F5:DA:EA:62
	 Signature algorithm name: SHA256withRSA
	 Version: 3

Extensions:

#1: ObjectId: 2.5.29.14 Criticality=false
SubjectKeyIdentifier [
KeyIdentifier [
0000: FD B5 9B B9 56 60 A4 01   AE 73 6B 19 E7 1E 70 98  ....V`...sk...p.
0010: EA ED 0E 89                                        ....
]
]
Show Comments