I have a file - crl.txt - that contains the following:
MDYwNKAyoDCGLmh0dHA6Ly93d3cyLnB1YmxpYy10cnVzdC5jb20vY3JsL2N0L2N0cm9vdC5jcmw=
It's from one of the extensions in a particular X.509 cert. Why is it that when I run the following command nothing happens?:
openssl asn1parse -inform PEM -in crl.txt -i
Here's the hex encoding of that string:
00000000 30:36:30:34:a0:32:a0:30:86:2e:68:74:74:70:3a:2f 0604.2.0..http:/
00000010 2f:77:77:77:32:2e:70:75:62:6c:69:63:2d:74:72:75 /www2.public-tru
00000020 73:74:2e:63:6f:6d:2f:63:72:6c:2f:63:74:2f:63:74 st.com/crl/ct/ct
00000030 72:6f:6f:74:2e:63:72:6c root.crl
The DER decoding (unless I'm mistaken) is as follows:
SEQUENCE {
SEQUENCE {
[0] {
[0] {
[6] 'http://www2.public-trust.com/crl/ct/ctroot.crl'
}
}
}
}
It's the id-ce-cRLDistributionPoints extension. The first [0] is for distributionPoint, the second [0] is for fullName and the [6] is for uniformResourceIdentifier (an implicitly encoded IA5String).