1This is an otherwise valid v1 certificate, except the version has been encoded
2explicitly as 0. Instead it should have been omitted.
3
4
5$ openssl asn1parse -i < [TBS CERTIFICATE]
6    0:d=0  hl=2 l=  60 cons: SEQUENCE
7    2:d=1  hl=2 l=   3 cons:  cont [ 0 ]
8    4:d=2  hl=2 l=   1 prim:   INTEGER           :00
9    7:d=1  hl=2 l=   1 prim:  INTEGER           :01
10   10:d=1  hl=2 l=   3 cons:  SEQUENCE
11   12:d=2  hl=2 l=   1 prim:   OCTET STRING      [HEX DUMP]:01
12   15:d=1  hl=2 l=   3 cons:  SEQUENCE
13   17:d=2  hl=2 l=   1 prim:   OCTET STRING      [HEX DUMP]:05
14   20:d=1  hl=2 l=  30 cons:  SEQUENCE
15   22:d=2  hl=2 l=  13 prim:   UTCTIME           :121018031200Z
16   37:d=2  hl=2 l=  13 prim:   UTCTIME           :131018145959Z
17   52:d=1  hl=2 l=   3 cons:  SEQUENCE
18   54:d=2  hl=2 l=   1 prim:   OCTET STRING      [HEX DUMP]:83
19   57:d=1  hl=2 l=   3 cons:  SEQUENCE
20   59:d=2  hl=2 l=   1 prim:   OCTET STRING      [HEX DUMP]:F3
21-----BEGIN TBS CERTIFICATE-----
22MDygAwIBAAIBATADBAEBMAMEAQUwHhcNMTIxMDE4MDMxMjAwWhcNMTMxMDE4MTQ1OTU5WjADBAG
23DMAMEAfM=
24-----END TBS CERTIFICATE-----
25
26ERROR: Version explicitly V1 (should be omitted)
27
28-----BEGIN ERRORS-----
29RVJST1I6IFZlcnNpb24gZXhwbGljaXRseSBWMSAoc2hvdWxkIGJlIG9taXR0ZWQpCg==
30-----END ERRORS-----