Fun hacks, WP plugins, photography, and PKI junk. Languishing since 2008.
Parsing A CRL With OpenSSL
Short and sweet. This command will give you a list of revoked serial numbers:
openssl crl -inform DER -text -noout -in mycrl.crl
Most CRLs are DER encoded, but you can use -inform PEM if your CRL is not binary. If you’re unsure if it is DER or PEM open it with a text editor. If you see —–BEGIN X509 CRL—– then it’s PEM and if you see strange binary-looking garbage characters it’s DER.
| Print article | This entry was posted by Paul Kehrer on January 10, 2010 at 9:29 pm, and is filed under Posts. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |