Why does windows certutil and openSSL display certificate public key bytes differently? -
this question similar "why windows certutil , openssl display csr (pkcs#10) signature bytes differently?" has different.
i want view contents of certificate, run command certutil
, openssl
, parts has same contents, parts different.
from 1, know certutil
output signature contain same bytes written backwards, public key, looks totally different.
for certutil -dump cert.der
command output is:
0000 30 82 01 0a 02 82 01 01 00 b7 78 af dd 3d 89 d5 0010 e1 93 bb 55 3a a6 24 62 34 d2 ec c0 6f d4 1d 82 0020 2a 38 a8 bf 99 80 84 18 80 9c 2c 07 7f e2 59 42 0030 68 e2 0a 11 2e 40 33 ef e3 b2 08 d5 32 dd 59 1f 0040 35 31 d1 f4 5d f2 69 e7 16 b5 ef 44 21 21 05 3e 0050 51 13 85 b4 5e 05 29 fc 50 1b d2 24 52 69 a7 0060 19 f3 cb 18 73 44 84 83 e3 27 8b 43 03 d2 2a 5a 0070 08 85 7c 56 b0 70 d7 fa d1 62 b7 34 15 b0 3b 7f 0080 4f 35 a1 ba e3 e1 d9 54 3a 47 17 fc 49 00 68 e8 0090 32 78 0c 2e 0d 72 c7 31 21 c5 69 f5 2e 8c 2d f6 00a0 7d aa 56 8c ef ef 6c ba ff 96 8b ee 6a c3 31 6d 00b0 93 91 cd 9c ad 0d db 61 07 58 1c 90 55 e8 a6 b1 00c0 51 aa a6 79 5f 0e 86 e4 a4 93 7b f3 48 70 56 7a 00d0 5f d4 2a 75 76 f9 a2 64 19 b1 b0 e3 a1 86 71 a8 00e0 e1 a5 80 d8 c1 8a 5a c5 5f c9 51 1f 21 d8 77 1e 00f0 8f 4b 83 de 10 79 68 ad 2d 00 5f b0 cc 68 96 0100 c6 89 d5 03 2c 84 7f 44 55 02 03 01 00 01
for openssl x509 -inform der -in cert.der -noout -text
command output of public key is:
00:b7:78:af:dd:3d:89:d5:e1:93:bb:55:3a:a6:24: 62:34:d2:ec:c0:6f:d4:1d:82:2a:38:a8:bf:99:80: 84:18:80:9c:2c:07:7f:e2:59:42:68:e2:0a:11:2e: 40:33:ef:e3:b2:08:d5:32:dd:59:1f:35:31:d1:f4: 5d:f2:69:e7:16:b5:ef:44:21:21:05:3e:51:13:85: b4:5e:05:be:29:fc:50:1b:d2:24:52:69:a7:19:f3: cb:18:73:44:84:83:e3:27:8b:43:03:d2:2a:5a:08: 85:7c:56:b0:70:d7:fa:d1:62:b7:34:15:b0:3b:7f: 4f:35:a1:ba:e3:e1:d9:54:3a:47:17:fc:49:00:68: e8:32:78:0c:2e:0d:72:c7:31:21:c5:69:f5:2e:8c: 2d:f6:7d:aa:56:8c:ef:ef:6c:ba:ff:96:8b:ee:6a: c3:31:6d:93:91:cd:9c:ad:0d:db:61:07:58:1c:90: 55:e8:a6:b1:51:aa:a6:79:5f:0e:86:e4:a4:93:7b: f3:48:70:56:7a:5f:d4:2a:75:76:f9:a2:64:19:b1: b0:e3:a1:86:71:a8:e1:a5:80:d8:c1:8a:5a:c5:5f: c9:51:1f:21:d8:77:1e:8f:4b:83:be:de:10:79:68: ad:2d:00:5f:b0:cc:68:96:c6:89:d5:03:2c:84:7f: 44:55
don't signature, not issue of display, root cause show different?
Comments
Post a Comment