SSL – Verify that file.key contains a valid key and file.crt contains a valid certificate

Verify that file.key contains a valid key and file.crt contains a valid certificate:


root# openssl rsa -in file.key -check -noout
root# openssl x509 -in file.crt -text -noout

Leave a Reply

Your email address will not be published. Required fields are marked *

*