use*_*278 3 ssl firefox openssl sha1 fingerprint
我如何获得sha-1指纹,如下所示:
// A.T. C.
{ { { 0xf9, 0xb5, 0xb6, 0x32, 0x45, 0x5f, 0x9c, 0xbe, 0xec, 0x57,
0x5f, 0x80, 0xdc, 0xe9, 0x6e, 0x2c, 0xc7, 0xb2, 0x78, 0xb7 } },
{"1.3.6.1.4.1.34697.2.1", ""}, },
Run Code Online (Sandbox Code Playgroud)
来自Chromium来源(net / cert / ev_root_ca_metadata.cc)。如果是加密货币?
当我尝试时,我总会得到这个
04:A0:56:A9:87:64:BB:DC:96:BF:6D:B0:49:FA:80:81:ED:06:8A:1E
Run Code Online (Sandbox Code Playgroud)
我可以使用哪个程序以及该命令的名称是什么来以加密方式获取?
我将在Firefox / Chrome中添加EV证书。
证书的SHA-1指纹只是其DER表示形式的SHA-1摘要值。
例如,如果您直接使用OpenSSL获得指纹,则将获得以下信息:
$ openssl x509 -fingerprint -in GeoTrust_Global_CA_2.pem -noout
SHA1 Fingerprint=A9:E9:78:08:14:37:58:88:F2:05:19:B0:6D:2B:0D:2B:60:16:90:7D
Run Code Online (Sandbox Code Playgroud)
如果将同一证书转换为DER,然后计算其SHA-1摘要,则将获得相同的结果:
$ openssl x509 -in GeoTrust_Global_CA_2.pem -outform DER | sha1sum
a9e9780814375888f20519b06d2b0d2b6016907d -
Run Code Online (Sandbox Code Playgroud)
(openssl ... -outform DER
在stdout上生成DER输出,并且sha1sum
是从其stdin计算SHA-1摘要的通用实用程序。)
归档时间: |
|
查看次数: |
6277 次 |
最近记录: |