How to extract CRL location from x509 certificate using OpenSSL utility

certificate-authoritycrlopenssl

I need to extract the crl location from a certificate authority so I can use that in verifying certificates. Is this possible using the openssl utility other than using the -text option and attempting to parse the output (which seems prone to vulnerabilities)?

Best Answer

openssl x509 has some switches to control the formatting of the output and it's possible to not display some fields, but getting just the CRL location does not seem to be possible.

It seems you're bound to parse the output.