Android生成SHA1(证书指纹)
去到jdk所在目录
C:\Program Files (x86)\Java\jdk1.8.0_73\bin
输入命令:
keytool -list -v -keystore mykey.keystore
得到结果:
密钥库类型: JKS 密钥库提供方: SUN 您的密钥库包含 1 个条目 别名: abbdd 创建日期: 2019-6-10 条目类型: PrivateKeyEntry 证书链长度: 1 证书[1]: 所有者: CN=(bujiming), OU=(bujiming@zoho.com), O=(bujiming@zoho.com), L=(Beijing), ST=(Beijing), C=(zh) 发布者: CN=(bujiming), OU=(bujiming@zoho.com), O=(bujiming@zoho.com), L=(Beijing), ST=(Beijing), C=(zh) 序列号: 281ff180 有效期开始日期: Mon Jun 10 19:21:25 CST 2019, 截止日期: Wed May 17 19:21:25 CST 2119 证书指纹: MD5: 00:2F:F1:00:00:CC:89:00:A4:C0:01:71:26:1E:7D:4F SHA1: C7:00:00:00:60:19:85:63:00:00:00:00:75:44:F3:92:8A:7C:75:8F SHA256: CC:3C:07:8F:00:D4:9F:21:00:00:00:00:0E:86:61:D2:9F:0A:FC:00:44:E4:02:02:39:39:40:2E:AE:42:FF:46 签名算法名称: SHA256withRSA 版本: 3 扩展: #1: ObjectId: 2.5.29.14 Criticality=false SubjectKeyIdentifier [ KeyIdentifier [ 0000: 80 B6 57 96 FF 7A 7F 49 8D 75 81 72 2A F1 F1 82 ..W..z.I.u.r*... 0010: 5D 5C E9 C0 ]\.. ] ] ******************************************* *******************************************