OpenSSL

Checking

CSR

openssl req -text -noout -verify -in request.csr

Key

openssl rsa -in privkey.key -check

Cert

openssl x509 -in certficate.crt -text -noout