Skip to content

Instantly share code, notes, and snippets.

@sata
Created June 22, 2020 14:18
Show Gist options
  • Save sata/2576bd0518bb59797aaffb771fcabb1b to your computer and use it in GitHub Desktop.
Save sata/2576bd0518bb59797aaffb771fcabb1b to your computer and use it in GitHub Desktop.
➜ ~ echo | openssl s_client -showcerts -servername aftonbladet.se -connect aftonbladet.se:443 2>/dev/null | openssl x509 -inform pem -noout -text
Certificate:
Data:
Version: 3 (0x2)
Serial Number:
04:cf:a7:c1:b8:a5:41:59:ad:5b:f3:4b:74:44:c7:bb
Signature Algorithm: sha256WithRSAEncryption
Issuer: C = US, O = DigiCert Inc, OU = www.digicert.com, CN = GeoTrust TLS RSA CA G1
Validity
Not Before: May 22 00:00:00 2018 GMT
Not After : Jun 20 12:00:00 2020 GMT
Subject: CN = www.aftonbladet.se
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
RSA Public-Key: (2048 bit)
Modulus:
00:e0:c5:e2:7c:d5:25:b0:4a:b6:b4:b0:0f:b9:21:
f6:35:c2:15:fc:5f:ee:46:d8:73:7d:c0:e5:e1:41:
bb:a0:4c:ee:10:63:19:e2:27:8e:0c:dc:7d:93:14:
fa:48:88:5e:cd:07:f5:cf:2e:1c:5c:b7:b3:f2:c9:
b1:00:45:4d:a0:18:c8:90:5b:e9:e1:8e:4a:48:9f:
5e:95:e5:b6:e3:a7:92:bd:8b:db:e3:71:5f:66:ac:
b7:1f:33:e3:da:5b:8d:b0:ea:03:a4:0c:f0:00:98:
3a:08:96:e8:9b:3f:87:1b:a4:5a:53:52:ae:81:58:
78:59:f4:22:cd:b9:e5:2c:e9:71:9c:22:58:d9:96:
d4:73:79:ad:e6:38:3f:78:08:97:b5:f7:08:e5:71:
29:6e:fc:81:6b:1f:82:b7:94:a6:68:17:97:d3:87:
c2:3c:b8:53:5a:0d:b6:fd:ae:ad:75:77:b0:bb:a0:
29:25:9a:60:75:86:74:05:cc:09:7f:de:97:39:d1:
43:ff:9d:41:77:c4:4a:0d:d0:14:87:8f:eb:78:b6:
f9:99:0c:79:2e:93:95:21:45:e7:e4:49:53:06:46:
02:8b:5a:be:65:d6:d7:cd:b5:53:bd:03:cc:0d:65:
53:c3:a8:4c:87:49:f0:a6:fc:31:f2:b9:dd:b6:bd:
73:f1
Exponent: 65537 (0x10001)
X509v3 extensions:
X509v3 Authority Key Identifier:
keyid:94:4F:D4:5D:8B:E4:A4:E2:A6:80:FE:FD:D8:F9:00:EF:A3:BE:02:57
X509v3 Subject Key Identifier:
C6:FC:F8:F6:EE:F7:85:79:52:B7:41:CC:0A:3D:BE:D0:63:A7:96:00
X509v3 Subject Alternative Name:
DNS:www.aftonbladet.se, DNS:aftonbladet.se
X509v3 Key Usage: critical
Digital Signature, Key Encipherment
X509v3 Extended Key Usage:
TLS Web Server Authentication, TLS Web Client Authentication
X509v3 CRL Distribution Points:
Full Name:
URI:http://cdp.geotrust.com/GeoTrustTLSRSACAG1.crl
X509v3 Certificate Policies:
Policy: 2.16.840.1.114412.1.2
CPS: https://www.digicert.com/CPS
Policy: 2.23.140.1.2.1
Authority Information Access:
OCSP - URI:http://status.geotrust.com
CA Issuers - URI:http://cacerts.geotrust.com/GeoTrustTLSRSACAG1.crt
X509v3 Basic Constraints:
CA:FALSE
CT Precertificate SCTs:
Signed Certificate Timestamp:
Version : v1 (0x0)
Log ID : A4:B9:09:90:B4:18:58:14:87:BB:13:A2:CC:67:70:0A:
3C:35:98:04:F9:1B:DF:B8:E3:77:CD:0E:C8:0D:DC:10
Timestamp : May 22 08:08:19.707 2018 GMT
Extensions: none
Signature : ecdsa-with-SHA256
30:46:02:21:00:80:7F:E9:A2:2F:21:44:12:DA:1C:66:
93:A4:E6:28:08:C9:A4:CF:DB:6E:9C:D0:39:33:9F:1C:
2D:0D:A4:60:77:02:21:00:FB:DC:BE:C0:66:B8:90:AF:
B2:13:5E:7D:39:9F:72:6C:A5:F1:ED:4F:D4:BB:2B:5B:
92:69:FB:50:52:E2:BA:3C
Signed Certificate Timestamp:
Version : v1 (0x0)
Log ID : 6F:53:76:AC:31:F0:31:19:D8:99:00:A4:51:15:FF:77:
15:1C:11:D9:02:C1:00:29:06:8D:B2:08:9A:37:D9:13
Timestamp : May 22 08:08:20.115 2018 GMT
Extensions: none
Signature : ecdsa-with-SHA256
30:44:02:20:44:37:5E:B0:98:51:22:7C:96:CC:68:CD:
82:84:26:A0:8D:10:41:15:87:E1:B6:13:3A:78:E7:1B:
BA:FC:8D:64:02:20:2B:43:65:A4:EC:43:EA:94:D2:19:
5C:A0:1E:51:F5:FC:A0:DF:07:0D:2C:44:28:95:EC:31:
5A:EB:18:E7:5C:DE
Signed Certificate Timestamp:
Version : v1 (0x0)
Log ID : BB:D9:DF:BC:1F:8A:71:B5:93:94:23:97:AA:92:7B:47:
38:57:95:0A:AB:52:E8:1A:90:96:64:36:8E:1E:D1:85
Timestamp : May 22 08:08:20.208 2018 GMT
Extensions: none
Signature : ecdsa-with-SHA256
30:44:02:20:5B:39:6C:3C:11:A9:17:20:07:21:C8:3C:
89:02:B9:68:3A:76:92:A0:59:C7:BA:E3:E3:21:66:09:
FC:8E:56:A2:02:20:31:CA:7B:FA:53:90:EF:D6:D2:25:
56:24:0F:45:F7:2C:4C:75:C7:AA:AC:6A:E8:9E:77:22:
D6:AF:2F:03:F5:7B
Signature Algorithm: sha256WithRSAEncryption
4a:8f:53:63:76:8a:25:06:76:fe:08:9e:17:09:9a:10:a0:76:
f1:9e:3e:86:23:2b:b7:e6:10:ee:c3:9c:58:e3:54:7c:72:95:
38:33:0c:08:39:bf:0d:3c:8f:5d:68:e6:ad:e0:12:d0:c2:f0:
25:a9:e3:d5:34:cc:13:ff:4b:01:21:00:b3:0d:14:81:ee:0e:
43:44:13:26:3f:aa:e6:ac:40:42:c6:a8:38:77:5f:54:f5:84:
90:d9:0b:18:f1:40:23:df:65:82:ad:96:dc:82:81:17:a2:8a:
45:ee:b2:bc:28:e1:bf:a5:14:93:55:0b:02:f6:7d:dc:2d:8a:
7a:7b:c9:c1:52:3c:92:27:b0:ed:87:88:f9:38:7f:28:2a:8a:
48:36:6d:cb:ee:25:45:f8:e3:85:83:b0:26:9b:46:dd:11:aa:
41:ec:54:99:e6:d6:27:78:5b:3a:2c:59:e8:92:0e:1c:e5:66:
20:30:15:04:99:0f:fd:a5:df:a1:b8:3d:f1:b0:a9:62:3c:18:
d3:d4:2a:36:8e:bb:a2:f3:88:34:1c:49:15:07:77:06:2c:fe:
a1:c4:88:cf:00:28:2d:eb:4f:db:61:8a:47:3c:d5:d6:f6:9b:
e2:bf:15:61:76:8e:6e:eb:33:f7:17:90:ac:b0:6c:e7:d2:e8:
16:0a:16:72
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment