Check X.509 certificates for encoding errors
cert_check is a command-line program written in C that checks X.509 certificates and PKCS #10 certificate requests for encoding errors. It also checks for conformance to the RFC 5280 certificate profile.
cert_check will accept certificates and certificate request messages that are either DER or PEM encoded.