1 This is a version 2 certificate with none of the optional fields.
5 -----BEGIN TBS CERTIFICATE-----
6 MDygAwIBAQIBATADBAEBMAMEAQUwHhcNMTIxMDE4MDMxMjAwWhcNMTMxMDE4MTQ1OTU5WjADBAG
8 -----END TBS CERTIFICATE-----
10 $ openssl asn1parse -i < [TBS CERTIFICATE]
11 0:d=0 hl=2 l= 60 cons: SEQUENCE
12 2:d=1 hl=2 l= 3 cons: cont [ 0 ]
13 4:d=2 hl=2 l= 1 prim: INTEGER :01
14 7:d=1 hl=2 l= 1 prim: INTEGER :01
15 10:d=1 hl=2 l= 3 cons: SEQUENCE
16 12:d=2 hl=2 l= 1 prim: OCTET STRING [HEX DUMP]:01
17 15:d=1 hl=2 l= 3 cons: SEQUENCE
18 17:d=2 hl=2 l= 1 prim: OCTET STRING [HEX DUMP]:05
19 20:d=1 hl=2 l= 30 cons: SEQUENCE
20 22:d=2 hl=2 l= 13 prim: UTCTIME :121018031200Z
21 37:d=2 hl=2 l= 13 prim: UTCTIME :131018145959Z
22 52:d=1 hl=2 l= 3 cons: SEQUENCE
23 54:d=2 hl=2 l= 1 prim: OCTET STRING [HEX DUMP]:83
24 57:d=1 hl=2 l= 3 cons: SEQUENCE
25 59:d=2 hl=2 l= 1 prim: OCTET STRING [HEX DUMP]:F3
29 -----BEGIN SERIAL NUMBER-----
31 -----END SERIAL NUMBER-----
35 -----BEGIN SIGNATURE ALGORITHM-----
37 -----END SIGNATURE ALGORITHM-----
39 $ openssl asn1parse -i < [SIGNATURE ALGORITHM]
40 0:d=0 hl=2 l= 3 cons: SEQUENCE
41 2:d=1 hl=2 l= 1 prim: OCTET STRING [HEX DUMP]:01
45 -----BEGIN ISSUER-----
49 $ openssl asn1parse -i < [ISSUER]
50 0:d=0 hl=2 l= 3 cons: SEQUENCE
51 2:d=1 hl=2 l= 1 prim: OCTET STRING [HEX DUMP]:05
55 -----BEGIN VALIDITY NOTBEFORE-----
56 eWVhcj0yMDEyLCBtb250aD0xMCwgZGF5PTE4LCBob3Vycz0zLCBtaW51dGVzPTEyLCBzZWNvbmR
58 -----END VALIDITY NOTBEFORE-----
60 VALIDITY NOTBEFORE: year=2012, month=10, day=18, hours=3, minutes=12, seconds=0
64 -----BEGIN VALIDITY NOTAFTER-----
65 eWVhcj0yMDEzLCBtb250aD0xMCwgZGF5PTE4LCBob3Vycz0xNCwgbWludXRlcz01OSwgc2Vjb25
67 -----END VALIDITY NOTAFTER-----
69 VALIDITY NOTAFTER: year=2013, month=10, day=18, hours=14, minutes=59, seconds=59
73 -----BEGIN SUBJECT-----
77 $ openssl asn1parse -i < [SUBJECT]
78 0:d=0 hl=2 l= 3 cons: SEQUENCE
79 2:d=1 hl=2 l= 1 prim: OCTET STRING [HEX DUMP]:83
87 $ openssl asn1parse -i < [SPKI]
88 0:d=0 hl=2 l= 3 cons: SEQUENCE
89 2:d=1 hl=2 l= 1 prim: OCTET STRING [HEX DUMP]:F3