openssl can verify certificates against the root CA/intermediate CA chain and also can check a crl list if a certificate is revoked.
The URL of the certificate revoke list can usually found in der certificate itself. For example a certifcate signed by
QuoVadis Global SSL ICA G3
.
Try to verify the certificate with also checking the crl use:
michael@debdev ~ # openssl verify -crl_check -crl_download my__certificate_signed-by_quoVadisglobalsslicag3.pem
C = BM, O = QuoVadis Limited, CN = QuoVadis Global SSL ICA G3
error 3 at 0 depth lookup: unable to get certificate CRL
error my__certificate_signed-by_quoVadisglobalsslicag3.pem: verification failed
The CRL check fails. The reason is the size of the crl list. The file size is
hard coded set to 100kB
.
Check with openssl 3.1. First add build directory to library path
michael@debdev ~/openssl ~ # export LD_LIBRARY_PATH=$(pwd):$LD_LIBRARY_PATH
michael@debdev:~ # cd
michael@debdev ~ # ./openssl/apps/openssl version
OpenSSL 3.1.0-dev under development (Library: OpenSSL 3.1.0-dev under development)
And check the certifcate with the openssl version again