1This is a synthesized Certificate, where the signature algorithm is an INTEGER
2rather than a SEQUENCE.
3
4
5$ openssl asn1parse -i < [CERTIFICATE]
6    0:d=0  hl=2 l=  12 cons: SEQUENCE
7    2:d=1  hl=2 l=   2 cons:  SEQUENCE
8    4:d=2  hl=2 l=   0 prim:   NULL
9    6:d=1  hl=2 l=   2 prim:  INTEGER           :0500
10   10:d=1  hl=2 l=   2 prim:  BIT STRING
11-----BEGIN CERTIFICATE-----
12MAwwAgUAAgIFAAMCAKs=
13-----END CERTIFICATE-----
14
15ERROR: Couldn't read Certificate.signatureAlgorithm as SEQUENCE
16
17-----BEGIN ERRORS-----
18RVJST1I6IENvdWxkbid0IHJlYWQgQ2VydGlmaWNhdGUuc2lnbmF0dXJlQWxnb3JpdGhtIGFzIFNFUVVFTkNFCg==
19-----END ERRORS-----
20