Check SSL

If you need to check the details on a certificate file (i.e.crt)

openssl x509 -noout -text -in

the output will include when the cert expires

openssl verify

will check the file for errors (i.e expired certificate)

Certificate : openssl x509 -noout -modulus -in | openssl md5

Private key : openssl rsa -noout -modulus -in | openssl md5

CSR : openssl req -noout -modulus -in | openssl md5

will check the checksum off the files if they match they are related