Skip to content

Instantly share code, notes, and snippets.

@movii
Last active August 2, 2017 05:58
Show Gist options
  • Save movii/802e1a257eb52881755e231aac2f2797 to your computer and use it in GitHub Desktop.
Save movii/802e1a257eb52881755e231aac2f2797 to your computer and use it in GitHub Desktop.
sample ssl.crt
# version 和 subjectAltName 都用 ^^^^ 做了标记
Certificate:
Data:
Version: 3 (0x2)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Serial Number:
98:aa:5c:98:0e:19:21:0f
Signature Algorithm: sha1WithRSAEncryption
Issuer: C=CN, ST=Shanghai, L=Shanghai, O=End Point, OU=Testing Domain, CN=localhost/emailAddress=admin@localhost
Validity
Not Before: Aug 1 02:42:18 2017 GMT
Not After : Jul 30 02:42:18 2027 GMT
Subject: C=CN, ST=Shanghai, L=Shanghai, O=End Point, OU=Testing Domain, CN=localhost/emailAddress=admin@localhost
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
RSA Public Key: (4096 bit)
Modulus (4096 bit):
00:c5:6a:d0:3f:0f:cc:11:90:24:c4:99:11:19:29:
2c:9f:ec:e9:4e:9e:82:45:ff:c0:05:fe:57:6e:58:
52:fb:c1:1f:10:36:dd:5e:f6:02:b1:0e:fb:5f:35:
e1:53:f1:f2:79:47:c3:93:b9:af:c9:32:f1:1b:f2:
6d:1f:26:82:12:ce:9e:e3:63:b3:77:08:ae:14:67:
07:b0:05:70:e1:8f:be:2b:70:c1:ae:28:05:ba:92:
c9:d7:4f:83:27:38:c7:aa:10:cf:f6:a0:b4:32:4d:
bc:9a:59:4d:c1:06:1d:81:fe:39:52:63:16:47:fb:
58:c5:8b:82:5b:25:9a:21:2f:59:d5:e3:7d:db:78:
5f:40:2c:c8:84:89:c6:cd:0a:1a:c6:e5:e3:6a:81:
a4:44:7d:c5:7c:ee:f7:1c:ad:6a:4a:fb:2d:88:c1:
bd:6e:9c:75:e2:8a:d4:a3:c9:91:ca:68:0d:41:25:
09:4b:67:3a:66:d8:1d:60:27:98:61:34:83:18:fb:
54:33:80:88:23:91:4e:3d:81:d3:7e:3b:5b:b2:f3:
c5:d6:d4:e2:a8:ca:60:75:0c:10:35:92:02:94:e6:
61:c0:9d:09:ec:c2:7b:bf:a3:28:d4:9a:1e:c5:5c:
f0:e2:bc:f5:ad:35:ef:f9:12:c8:fc:41:c4:75:2c:
94:08:c2:59:af:87:eb:7f:ba:53:b5:f1:6e:6b:4b:
63:b0:b4:9d:96:51:9a:1e:c7:d5:c6:ba:61:f7:f6:
74:86:80:32:3c:ac:8b:2e:27:83:d8:b8:1c:9e:12:
f7:cf:bb:6d:fb:b3:54:24:10:07:11:36:bb:84:ff:
c8:55:22:2f:c4:3d:a1:dd:96:25:13:42:40:cb:3a:
52:2e:91:d0:ce:48:5b:21:65:e0:0c:91:16:91:77:
fd:90:99:7a:06:b6:f5:ef:87:92:ea:d0:e0:44:50:
96:4e:0e:21:1a:5e:88:e1:b4:9a:26:21:46:d9:d1:
cb:4a:52:d7:fe:97:57:b6:45:3f:c4:1d:de:c5:6b:
c8:75:08:e3:d9:95:55:85:97:16:46:84:d8:37:8c:
de:a1:40:49:9b:39:8b:98:64:50:44:7f:35:56:f2:
5a:ee:26:ae:30:e4:3e:99:21:e5:f8:7c:d4:d7:78:
ef:e2:8e:4f:72:3e:a6:98:94:60:a5:ce:74:cd:5e:
cd:97:9d:f9:f0:4b:e1:7a:21:7b:1a:53:5b:c7:76:
6a:d5:78:68:3e:7a:0a:d6:66:ac:69:38:57:29:71:
a7:66:63:7a:39:4b:d0:8f:4e:af:39:da:8c:7f:d4:
25:0e:a7:f4:66:7f:d2:07:95:46:14:dc:1e:b5:c9:
f1:11:65
Exponent: 65537 (0x10001)
X509v3 extensions:
X509v3 Key Usage:
Key Encipherment, Data Encipherment
X509v3 Extended Key Usage:
TLS Web Server Authentication
X509v3 Subject Alternative Name:
DNS:localhost
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Signature Algorithm: sha1WithRSAEncryption
47:2b:f7:ee:cd:db:18:f7:70:d0:f1:8a:9b:86:b3:fc:f9:a5:
03:7f:b2:c5:2e:c4:73:6a:b4:2f:0f:c2:e9:63:57:e4:7e:cb:
3c:a4:85:ac:b6:c9:a3:39:48:05:46:75:87:dd:01:cc:dc:64:
84:b2:cb:f5:07:0a:40:94:c9:d9:63:1b:f2:23:80:ca:f0:66:
d5:7f:50:89:4c:41:84:0e:86:b6:17:81:78:f3:0d:b7:95:8a:
ea:e2:be:58:c3:f1:de:8d:71:d0:c3:9c:c1:1c:f4:69:ee:96:
bd:71:9f:70:8b:de:65:12:f7:dd:a8:3e:f1:7b:87:0b:ea:11:
7e:f8:d6:d2:24:da:5b:2d:c5:04:ac:d2:54:6b:9e:8e:87:44:
40:11:4b:3f:20:10:d2:54:60:60:0a:e0:9b:2f:e6:7a:2c:aa:
e7:7f:ee:3a:79:ec:b2:ef:5a:8d:e5:57:8c:90:ac:af:15:ab:
f5:d2:28:4b:f1:30:38:5e:f6:c0:7c:fe:88:50:6e:e5:2c:64:
a0:25:53:6f:3d:50:c1:99:91:14:6a:5e:76:f7:86:3a:6d:9c:
d0:15:eb:5f:3e:3e:f2:df:1a:ea:9f:9d:d2:65:3b:f6:e6:da:
97:6d:f8:34:50:53:a2:0d:84:f6:a7:e4:4b:24:a0:a2:a0:ff:
89:85:0f:83:e9:5a:39:0e:75:1f:20:2f:47:92:12:8a:f5:c6:
bf:fa:e4:d5:4d:30:90:84:5e:e8:9e:d6:63:56:a7:94:3d:a0:
e0:e7:61:44:eb:6e:f2:70:8d:1e:d6:a7:18:2e:de:44:33:a1:
36:48:d0:c4:84:07:30:e0:e1:90:ee:32:2d:c9:87:59:4f:bd:
ba:9b:66:4d:b8:e2:2c:98:ac:10:d8:02:38:09:3e:7e:06:1b:
85:2a:7b:70:c2:36:6a:5e:d2:b8:73:15:b0:32:37:5f:40:ca:
e4:c6:94:1f:64:5f:9a:85:db:83:cb:d7:68:65:df:a9:4c:c6:
09:0c:6c:1d:ef:52:37:05:bb:26:db:95:69:7d:b4:72:9d:07:
01:f4:7a:f2:c1:08:08:2b:be:bc:95:5e:ae:a9:65:3d:b5:01:
f4:62:5f:f5:6e:10:7a:13:b1:31:ca:25:42:8a:52:96:7b:8b:
24:0f:4e:d5:0e:ec:9d:c4:04:c5:70:63:2a:d0:43:ca:40:40:
cf:26:83:fe:a6:50:37:89:a1:2b:21:0c:81:03:b0:13:b3:ce:
d3:c4:b9:93:1b:94:4e:51:ac:1a:27:68:c0:4b:01:dd:06:25:
4a:ff:d9:5b:9f:72:8a:09:1a:f3:25:a0:8e:c5:01:25:6e:27:
8a:cd:04:44:a0:73:ec:e6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment