1 This is a TBSCertificate which omits the version field (meaning it is v1).
5 -----BEGIN TBS CERTIFICATE-----
6 MDcCAQEwAwQBATADBAEFMB4XDTEyMTAxODAzMTIwMFoXDTEzMTAxODE0NTk1OVowAwQBgzADBAH
8 -----END TBS CERTIFICATE-----
10 $ openssl asn1parse -i < [TBS CERTIFICATE]
11 0:d=0 hl=2 l= 55 cons: SEQUENCE
12 2:d=1 hl=2 l= 1 prim: INTEGER :01
13 5:d=1 hl=2 l= 3 cons: SEQUENCE
14 7:d=2 hl=2 l= 1 prim: OCTET STRING [HEX DUMP]:01
15 10:d=1 hl=2 l= 3 cons: SEQUENCE
16 12:d=2 hl=2 l= 1 prim: OCTET STRING [HEX DUMP]:05
17 15:d=1 hl=2 l= 30 cons: SEQUENCE
18 17:d=2 hl=2 l= 13 prim: UTCTIME :121018031200Z
19 32:d=2 hl=2 l= 13 prim: UTCTIME :131018145959Z
20 47:d=1 hl=2 l= 3 cons: SEQUENCE
21 49:d=2 hl=2 l= 1 prim: OCTET STRING [HEX DUMP]:83
22 52:d=1 hl=2 l= 3 cons: SEQUENCE
23 54:d=2 hl=2 l= 1 prim: OCTET STRING [HEX DUMP]:F3
27 -----BEGIN SERIAL NUMBER-----
29 -----END SERIAL NUMBER-----
33 -----BEGIN SIGNATURE ALGORITHM-----
35 -----END SIGNATURE ALGORITHM-----
37 $ openssl asn1parse -i < [SIGNATURE ALGORITHM]
38 0:d=0 hl=2 l= 3 cons: SEQUENCE
39 2:d=1 hl=2 l= 1 prim: OCTET STRING [HEX DUMP]:01
43 -----BEGIN ISSUER-----
47 $ openssl asn1parse -i < [ISSUER]
48 0:d=0 hl=2 l= 3 cons: SEQUENCE
49 2:d=1 hl=2 l= 1 prim: OCTET STRING [HEX DUMP]:05
53 -----BEGIN VALIDITY NOTBEFORE-----
54 eWVhcj0yMDEyLCBtb250aD0xMCwgZGF5PTE4LCBob3Vycz0zLCBtaW51dGVzPTEyLCBzZWNvbmR
56 -----END VALIDITY NOTBEFORE-----
58 VALIDITY NOTBEFORE: year=2012, month=10, day=18, hours=3, minutes=12, seconds=0
62 -----BEGIN VALIDITY NOTAFTER-----
63 eWVhcj0yMDEzLCBtb250aD0xMCwgZGF5PTE4LCBob3Vycz0xNCwgbWludXRlcz01OSwgc2Vjb25
65 -----END VALIDITY NOTAFTER-----
67 VALIDITY NOTAFTER: year=2013, month=10, day=18, hours=14, minutes=59, seconds=59
71 -----BEGIN SUBJECT-----
75 $ openssl asn1parse -i < [SUBJECT]
76 0:d=0 hl=2 l= 3 cons: SEQUENCE
77 2:d=1 hl=2 l= 1 prim: OCTET STRING [HEX DUMP]:83
85 $ openssl asn1parse -i < [SPKI]
86 0:d=0 hl=2 l= 3 cons: SEQUENCE
87 2:d=1 hl=2 l= 1 prim: OCTET STRING [HEX DUMP]:F3