openssl x509 -noout -text -in your.crt
openssl rsa -noout -text -in your.key