Checking Certificate Using OpenSSL
Although I’ve covered this in different challenges. I thought I’d notate how to check a local TLS certificate using the OpenSSL command. This can be useful for when you want to confirm you’re using the right certificate or just look it over.
Below is a simple command for viewing a certificate in OpenSSL with just the certificate.
openssl x509 -in certificatefile.cert -noout -text